summaryrefslogtreecommitdiff
path: root/dh_installdocs
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-01-12 12:32:49 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-01-12 12:32:49 -0500
commit651159b311097089d241e2715dd18fa60da10aa3 (patch)
tree3f05aa4e7b0663c25a9e3fcd26959ec53a4e14f3 /dh_installdocs
parent44097a184c49114de52bdaf464afe952c4273e01 (diff)
releasing version 6.0.2
Diffstat (limited to 'dh_installdocs')
-rwxr-xr-xdh_installdocs3
1 files changed, 1 insertions, 2 deletions
diff --git a/dh_installdocs b/dh_installdocs
index 3707a136..35672369 100755
--- a/dh_installdocs
+++ b/dh_installdocs
@@ -137,8 +137,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
my $dir = ($basename eq '.') ? $doc : "$doc/..";
my $pwd=`pwd`;
chomp $pwd;
- $exclude='\\( -type f -or -type l \\)'.$exclude;
- complex_doit("cd '$dir' && find '$basename' $exclude -exec cp --parents -dp {} $pwd/$tmp/usr/share/doc/$package \\;");
+ complex_doit("cd '$dir' && find '$basename' \\( -type f -or -type l \\)$exclude -exec cp --parents -dp {} $pwd/$tmp/usr/share/doc/$package \\;");
}
else {
doit("cp", "-a", $doc, "$tmp/usr/share/doc/$package");