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

[lintian] 01/01: c/debhelper: Fix reliance on inversed ordering of files



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

nthykier pushed a commit to branch master
in repository lintian.

commit 28b1671d8123e00dc086bd199054779a15d4ca98
Author: Niels Thykier <niels@thykier.net>
Date:   Mon Jul 20 20:45:15 2015 +0200

    c/debhelper: Fix reliance on inversed ordering of files
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/debhelper.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/checks/debhelper.pm b/checks/debhelper.pm
index f0d9c40..53a2f2e 100644
--- a/checks/debhelper.pm
+++ b/checks/debhelper.pm
@@ -410,7 +410,7 @@ sub run {
     }
 
     if (scalar(@indebfiles)){
-        my $f = pop(@indebfiles);
+        my $f = shift(@indebfiles);
         my $others = scalar(@indebfiles);
         my $otext = '';
         if ($others > 1){

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


Reply to: