[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: collection/src-orig-index: Use /r modifier (>= Perl 5.14) instead of $_. Thanks Niels!



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

lamby pushed a commit to branch master
in repository lintian.

commit 901e9075a133b8c09f1fff69152ef9df20df8304
Author: Chris Lamb <lamby@debian.org>
Date:   Tue Jan 9 15:36:27 2018 +0530

    collection/src-orig-index: Use /r modifier (>= Perl 5.14) instead of $_. Thanks Niels!
---
 collection/src-orig-index | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/collection/src-orig-index b/collection/src-orig-index
index 853dbad..62fdd5d 100755
--- a/collection/src-orig-index
+++ b/collection/src-orig-index
@@ -201,8 +201,7 @@ sub index_orig {
                 # unpacked to.
                 @index = map {
                     s{^((?:\S++\s++){5})(?:\./)?\Q$prefix\E(?:/+)?}
-                    {$1$compname/};
-                    $_;
+                    {$1$compname/}r
                 } @index;
             }
         }

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


Reply to: