summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2016-01-02 15:56:41 +0000
committerNiels Thykier <niels@thykier.net>2016-01-02 15:56:41 +0000
commitdf52ff1efcb059579106f9f1fa3233708b5c657a (patch)
tree427f676474898bb5715272ea97a4a8c8b21f4388
parenta4c2ca1df85cc9271a2c837bde183bd4de60cd8d (diff)
downloaddebhelper-df52ff1efcb059579106f9f1fa3233708b5c657a.tar.gz
dh_install: Anchor the d/tmp regex
Signed-off-by: Niels Thykier <niels@thykier.net>
-rwxr-xr-xdh_install2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_install b/dh_install
index f7275c9a..7da40d3c 100755
--- a/dh_install
+++ b/dh_install
@@ -177,7 +177,7 @@ foreach my $package (getpackages()) {
# Fall back to looking in debian/tmp.
if (! @found || ! (-e $found[0] || -l $found[0])) {
@found = glob "debian/tmp/$glob"
- if $glob !~ m{(?:\./)?debian/tmp/};
+ if $glob !~ m{^(?:\./)?debian/tmp/};
}
}
push @filelist, @found;