[debhelper-devel] [debhelper] 01/01: dh: Stricter parsing of DH NOOP PROMISE
Niels Thykier
nthykier at moszumanska.debian.org
Sun Jul 23 13:01:48 UTC 2017
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository debhelper.
commit 1a370b5d88984929579f40d57d0baa7f6a1f2255
Author: Niels Thykier <niels at thykier.net>
Date: Sun Jul 23 12:29:46 2017 +0000
dh: Stricter parsing of DH NOOP PROMISE
Signed-off-by: Niels Thykier <niels at thykier.net>
---
dh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dh b/dh
index d7fb418..fdf0bcf 100755
--- a/dh
+++ b/dh
@@ -1081,7 +1081,7 @@ sub extract_skipinfo {
foreach my $dir (split (':', $ENV{PATH})) {
if (open (my $h, "<", "$dir/$command")) {
while (<$h>) {
- if (m/PROMISE: DH NOOP( WITHOUT\s+(.*))?/) {
+ if (m/PROMISE: DH NOOP( WITHOUT\s+(.*))?\s*$/) {
close $h;
return split(' ', $2) if defined($2);
return ('always-skip');
--
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