diff options
Diffstat (limited to 'dh_installdocs')
-rwxr-xr-x | dh_installdocs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_installdocs b/dh_installdocs index f0b5c5e2..c516a571 100755 --- a/dh_installdocs +++ b/dh_installdocs @@ -213,7 +213,7 @@ 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 -exec cp --parents -dp {} $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 {} $pwd/$tmp/usr/share/doc/$package"); } else { doit("cp", "-a", $doc, "$tmp/usr/share/doc/$package"); |