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

abe pushed a commit to branch ppt-lc-mover
in repository lintian.

commit d511af25b95dca7ddf9c16c45b8273f1a55626eb
Author: Axel Beckert <a...@deuxchevaux.org>
Date:   Fri Aug 14 00:00:12 2015 +0200

    checks/cruft.pm/mentions-deprecated-usr-lib-perl5-directory: Use index() 
instead of regexp
    
    Signed-off-by: Axel Beckert <a...@deuxchevaux.org>
---
 checks/cruft.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/checks/cruft.pm b/checks/cruft.pm
index 6ff24a2..130a679 100644
--- a/checks/cruft.pm
+++ b/checks/cruft.pm
@@ -674,7 +674,7 @@ sub find_cruft {
 
                 # ignore comments
                 $contents =~ s/#.*$//m;
-                if ($contents =~ m{usr/lib/perl5}) {
+                if (index($contents, 'usr/lib/perl5') >= 0) {
                     tag 'mentions-deprecated-usr-lib-perl5-directory', $short;
                 }
             }

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

Reply via email to