summaryrefslogtreecommitdiff
path: root/dh_builddeb
diff options
context:
space:
mode:
authorjoey <joey>2003-04-06 18:33:01 +0000
committerjoey <joey>2003-04-06 18:33:01 +0000
commitdfc48628ab06f010bb18454d5d8e8701b1bcf58a (patch)
tree3c33ca1a30d1776d37e2dca103c62ba23d81d8b4 /dh_builddeb
parentad0b88983934d9daa702a7416cfab8cf768a54d1 (diff)
r582: * Fix build with 077 umask. Closes: #187757
* Allow colons between multiple items in DH_ALWAYS_EXCLUDE.
Diffstat (limited to 'dh_builddeb')
-rwxr-xr-xdh_builddeb3
1 files changed, 2 insertions, 1 deletions
diff --git a/dh_builddeb b/dh_builddeb
index a634be2..3d9f9d8 100755
--- a/dh_builddeb
+++ b/dh_builddeb
@@ -60,7 +60,8 @@ else {
foreach my $package (@{$dh{DOPACKAGES}}) {
my $tmp=tmpdir($package);
if (exists $ENV{DH_ALWAYS_EXCLUDE} && length $ENV{DH_ALWAYS_EXCLUDE}) {
- complex_doit("find $tmp -name $ENV{DH_ALWAYS_EXCLUDE} | xargs rm -rf");
+ complex_doit("find $tmp -name $_ | xargs rm -rf")
+ foreach split(":", $ENV{DH_ALWAYS_EXCLUDE});
}
doit("dpkg-deb", @{$dh{U_PARAMS}}, "--build", $tmp, $dh{DESTDIR}.$dh{FILENAME});
}