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

[lintian] 02/03: c/debhelper: Correct handle compat not being a number



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

nthykier pushed a commit to branch master
in repository lintian.

commit 29d77fd07b14573f3697693e050f09485cd77b74
Author: Niels Thykier <niels@thykier.net>
Date:   Sun Sep 11 13:19:41 2016 +0000

    c/debhelper: Correct handle compat not being a number
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/debhelper.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/checks/debhelper.pm b/checks/debhelper.pm
index 7d9f8d7..fe2fa4b 100644
--- a/checks/debhelper.pm
+++ b/checks/debhelper.pm
@@ -271,6 +271,7 @@ sub run {
             } elsif ($compat !~ m/^\d+$/) {
                 tag 'debhelper-compat-not-a-number', $compat;
                 $compat =~ s/[^\d]//g;
+                $compat_value = $compat;
                 $compatnan = 1;
             }
             if ($level) {

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


Reply to: