]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_installdocs
r1779: releasing version 4.9.6
[debhelper.git] / dh_installdocs
index 52d1675fb7ff787c17603ef38b0953a7099005cd..9c12d49d0199b78146b9ba4b31f1582ee81a16b8 100755 (executable)
@@ -133,7 +133,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                            # Pity there's no cp --exclude ..
                            my $pwd=`pwd`;
                            chomp $pwd;
-                           complex_doit("cd $doc/.. && find $dir_basename -type f$exclude -exec cp --parents -dp {} $pwd/$tmp/usr/share/doc/$package \\;");
+                           complex_doit("cd $doc/.. && find $dir_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");