summaryrefslogtreecommitdiff
path: root/dh_install
diff options
context:
space:
mode:
authorjoey <joey>2002-07-06 02:59:27 +0000
committerjoey <joey>2002-07-06 02:59:27 +0000
commit620d5c492f5bfd918f3d88a8270b5e4565a41635 (patch)
tree7ebfee45fb52d83b0edeac769516ca14536f8915 /dh_install
parent8e3fc45ef77b9b443b7a05fdb9fc5ea56082f5e4 (diff)
r537: * 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.
Diffstat (limited to 'dh_install')
-rwxr-xr-xdh_install4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_install b/dh_install
index 65a99772..69f24365 100755
--- a/dh_install
+++ b/dh_install
@@ -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/");