[lintian] 01/03: Don't capture regex.
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit ce6a34a42ec664824e40a3cd8764fbd9654fd4bc
Author: Chris Lamb <lamby@debian.org>
Date: Tue Feb 6 18:24:19 2018 +0000
Don't capture regex.
---
checks/rules.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/rules.pm b/checks/rules.pm
index 95b6abc..58ce0ba 100644
--- a/checks/rules.pm
+++ b/checks/rules.pm
@@ -443,7 +443,7 @@ sub run {
}
if (my $line = $overridden{'dh_auto_test'}) {
- my @lines = grep { $_ !~ m/^\t\s*(:|dh_auto_test|echo)\s+/ }
+ my @lines = grep { $_ !~ m/^\t\s*(?::|dh_auto_test|echo)\s+/ }
@{$rules_per_target{'override_dh_auto_test'}};
tag 'override_dh_auto_test-does-not-check-DEB_BUILD_PROFILES',
"(line $line)"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: