[lintian] 01/01: c/scripts: Hide trailing : added by dhpython in maintscripts
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit ec79274ef04d23fade56c32c82d03ae06f0c2e2f
Author: Niels Thykier <niels@thykier.net>
Date: Sun Jun 18 14:54:59 2017 +0000
c/scripts: Hide trailing : added by dhpython in maintscripts
Signed-off-by: Niels Thykier <niels@thykier.net>
---
checks/scripts.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/scripts.pm b/checks/scripts.pm
index 74e1cc4..e310cc3 100644
--- a/checks/scripts.pm
+++ b/checks/scripts.pm
@@ -631,7 +631,7 @@ sub run {
if (/\#DEBHELPER\#/) {
tag 'maintainer-script-has-unexpanded-debhelper-token', $file;
}
- if (/^# Automatically added by (\S+)/) {
+ if (/^# Automatically added by (\S*[^:\s]):?\s*$/) {
my $dh_cmd = $1;
tag 'debhelper-autoscript-in-maintainer-scripts', $dh_cmd
if not $dh_cmd_substs{$dh_cmd}++;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: