summaryrefslogtreecommitdiff
path: root/Debian/Debhelper
diff options
context:
space:
mode:
Diffstat (limited to 'Debian/Debhelper')
-rw-r--r--Debian/Debhelper/Dh_Lib.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm
index 0f910f1d..b14afd1e 100644
--- a/Debian/Debhelper/Dh_Lib.pm
+++ b/Debian/Debhelper/Dh_Lib.pm
@@ -54,8 +54,8 @@ sub init {
foreach (@{$dh{EXCLUDE}}) {
$dh{EXCLUDE_FIND}.="-regex ".escape_shell(".*$_.*")." -or ";
}
+ $dh{EXCLUDE_FIND}=~s/ -or $//;
}
- $dh{EXCLUDE_FIND}=~s/ -or $//;
# Check to see if DH_VERBOSE environment variable was set, if so,
# make sure verbose is on.