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

[SCM] Debian package checker branch, master, updated. 2.5.10-114-gcb3d20c



The following commit has been merged in the master branch:
commit cb3d20cd1bec5e32d0c6adcd9c2e88bc88ec5a0d
Author: Niels Thykier <niels@thykier.net>
Date:   Fri Aug 10 23:23:59 2012 +0200

    lintian: Replace record_unpack_info with \@unpack_info
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/frontend/lintian b/frontend/lintian
index 210fd44..21bf354 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -333,12 +333,6 @@ sub record_dont_check_part {
     $dont_check = "$_[1]";
 }
 
-
-# Process for -U|--unpack-info flag
-sub record_unpack_info {
-    push @unpack_info, "$_[1]";
-}
-
 # Record what type of data is specified
 # Options: -b|--binary, -s|--source, --udeb
 sub record_pkgmode {
@@ -495,7 +489,7 @@ my %opthash = (                 # ------------------ actions
                'no-override|o' => \$opt{'no-override'},
                'show-overrides' => \$opt{'show-overrides'},
                'color=s' => \$opt{'color'},
-               'unpack-info|U=s' => \&record_unpack_info,
+               'unpack-info|U=s' => \@unpack_info,
                'allow-root' => \$allow_root,
                'fail-on-warnings' => \$opt{'fail-on-warnings'},
                'keep-lab' => \$keep_lab,

-- 
Debian package checker


Reply to: