[debhelper-devel] [debhelper] 01/01: dh_install: Anchor the d/tmp regex

Niels Thykier nthykier at moszumanska.debian.org
Sat Jan 2 15:56:45 UTC 2016


This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository debhelper.

commit df52ff1efcb059579106f9f1fa3233708b5c657a
Author: Niels Thykier <niels at thykier.net>
Date:   Sat Jan 2 15:56:41 2016 +0000

    dh_install: Anchor the d/tmp regex
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 dh_install | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dh_install b/dh_install
index f7275c9..7da40d3 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;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list