From 6b16b421586346cca9af0b350d959b8710020c95 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 20 Aug 2013 12:52:15 -0400 Subject: make line less long --- dh_installdocs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"); -- cgit v1.2.3