summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2013-08-20 12:52:15 -0400
committerJoey Hess <joey@kitenet.net>2013-08-20 12:52:15 -0400
commit6b16b421586346cca9af0b350d959b8710020c95 (patch)
treecc63967052687ab9f524caefe2b01a9a5f215087
parent67b82f4b657afbdca04fc3ea4771c78b3d500f0f (diff)
make line less long
-rwxr-xr-xdh_installdocs3
1 files changed, 2 insertions, 1 deletions
diff --git a/dh_installdocs b/dh_installdocs
index c516a571..e835ff69 100755
--- a/dh_installdocs
+++ b/dh_installdocs
@@ -213,7 +213,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
my $dir = ($basename eq '.') ? $doc : "$doc/..";
my $pwd=`pwd`;
chomp $pwd;
- complex_doit("cd '$dir' && find '$basename' \\( -type f -or -type l \\)$exclude -print0 | xargs -0 -I {} cp --parents -dp {} $pwd/$tmp/usr/share/doc/$package");
+ my $docdir = "$pwd/$tmp/usr/share/doc/$package";
+ complex_doit("cd '$dir' && find '$basename' \\( -type f -or -type l \\)$exclude -print0 | xargs -0 -I {} cp --parents -dp {} $docdir");
}
else {
doit("cp", "-a", $doc, "$tmp/usr/share/doc/$package");