]> git.donarmstrong.com Git - debhelper.git/commitdiff
r537: * In dh_install, don't limit to -type f when doing the find due to -X.
authorjoey <joey>
Sat, 6 Jul 2002 02:59:27 +0000 (02:59 +0000)
committerjoey <joey>
Sat, 6 Jul 2002 02:59:27 +0000 (02:59 +0000)
     This makes it properly install syml8inks, cf my rpm bug.

debian/changelog
dh_install

index b2e10d17d822ba05e6f32034783af54e11e044de..ae50371a1934ab78bccc39a6521c1dc30da53b38 100644 (file)
@@ -1,3 +1,10 @@
+debhelper (4.0.17) unstable; urgency=low
+
+  * In dh_install, don't limit to -type f when doing the find due to -X.
+    This makes it properly install syml8inks, cf my rpm bug.
+
+ -- Joey Hess <joeyh@debian.org>  Fri,  5 Jul 2002 22:58:03 -0400
+
 debhelper (4.0.16) unstable; urgency=low
 
   * Patch from doogie to make dh_movefiles support -X. Closes: #150978
index 65a99772ed8311a87088e85b12694c052468edf1..69f24365b475b788abac89f477ac92b5eaf2e091 100755 (executable)
@@ -109,7 +109,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
        # Support for -X flag.
        my $exclude = '';
        if ($dh{EXCLUDE_FIND}) {
-               $exclude = ' -and ! \( '.$dh{EXCLUDE_FIND}.' \)';
+               $exclude = '-and ! \( '.$dh{EXCLUDE_FIND}.' \)';
        }
        
        foreach my $set (@install) {
@@ -139,7 +139,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                                # Pity there's no cp --exclude ..
                                my $pwd=`pwd`;
                                chomp $pwd;
-                               complex_doit("cd $src/.. && find $dir_basename -type f$exclude -exec cp --parents -dp {} $pwd/$tmp/$dest/ \\;");
+                               complex_doit("cd $src/.. && find $dir_basename \\( -type f -or -type l \\) $exclude -exec cp --parents -dp {} $pwd/$tmp/$dest/ \\;");
                        }
                        else {
                                doit("cp", "-a", $src, "$tmp/$dest/");