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

[lintian] 01/01: c/debhelper.pm: Recognize dh-exec's "=>" arrow if surrounded by tabs



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

abe pushed a commit to branch master
in repository lintian.

commit bb8586fc11e8b797365e8b0809561fca163b5251
Author: Axel Beckert <abe@deuxchevaux.org>
Date:   Sat Oct 7 02:39:53 2017 +0200

    c/debhelper.pm: Recognize dh-exec's "=>" arrow if surrounded by tabs
    
    Closes: #877905
---
 checks/debhelper.pm | 2 +-
 debian/changelog    | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/checks/debhelper.pm b/checks/debhelper.pm
index a8f0383..d5a989e 100644
--- a/checks/debhelper.pm
+++ b/checks/debhelper.pm
@@ -531,7 +531,7 @@ sub _check_dh_exec {
                 tag 'dh-exec-subst-unknown-variable', $path, $sv;
             }
         }
-        $dhe_install = 1 if / => /;
+        $dhe_install = 1 if /[ \t]=>[ \t]/;
         $dhe_filter = 1 if /\[[^\]]+\]/;
         $dhe_filter = 1 if /<[^>]+>/;
 
diff --git a/debian/changelog b/debian/changelog
index 53bef31..586a367 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,9 @@ lintian (2.5.55) UNRELEASED; urgency=medium
     + [CL] Drop copyright-year-in-future after all; it's just too error
       prone and time-consuming to maintain given the severity of the issues
       it can find.  (Closes: #877766)
+  * checks/debhelper.pm:
+    + [AB] Also recognize dh-exec's "=>" arrow if surrounded by tabs.
+      (Closes: #877905)
   * checks/files.pm:
     + [CL] Ignore privacy breach violations in comments.  (Closes: #877421)
   * checks/{files,manpages,menu-format}.{desc,pm}:

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


Reply to: