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

[lintian] 01/01: collection/src-orig-index: Return the replacement value after injecting any tarball prefix, not the result of said replacement (ie. "1"). (Closes: #886586)



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

lamby pushed a commit to branch master
in repository lintian.

commit f881979919173015e69da15c7950d5d3827c8ed7
Author: Chris Lamb <lamby@debian.org>
Date:   Tue Jan 9 11:46:08 2018 +0530

    collection/src-orig-index: Return the replacement value after injecting any tarball prefix, not the result of said replacement (ie. "1"). (Closes: #886586)
---
 collection/src-orig-index | 3 ++-
 debian/changelog          | 4 ++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/collection/src-orig-index b/collection/src-orig-index
index c6665dd..853dbad 100755
--- a/collection/src-orig-index
+++ b/collection/src-orig-index
@@ -201,7 +201,8 @@ sub index_orig {
                 # unpacked to.
                 @index = map {
                     s{^((?:\S++\s++){5})(?:\./)?\Q$prefix\E(?:/+)?}
-                    {$1$compname/}
+                    {$1$compname/};
+                    $_;
                 } @index;
             }
         }
diff --git a/debian/changelog b/debian/changelog
index 6839009..3a62177 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -62,6 +62,10 @@ lintian (2.5.68) UNRELEASED; urgency=medium
     + [CL] Downgrade severity of out-of-date-standards-version from normal
       ("W:") to wishlist ("I:").  (Closes: #886210)
 
+  * collection/src-orig-index:
+    + [CL] Return the replacement value after injecting any tarball prefix,
+      not the result of said replacement (ie. "2").  (Closes: #886586)
+
   * data/common/dbg-pkg:
     + [CL] Identify both python-foo-dbg and python3-foo-dbg as known debug
       packages to avoid a false-positive for the former when checking for

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


Reply to: