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

[SCM] Debian package checker branch, master, updated. 2.5.1-95-ga8ea230



The following commit has been merged in the master branch:
commit a8ea230cd4b7b294f390afd2353b906abfa52370
Author: Niels Thykier <niels@thykier.net>
Date:   Thu Jul 14 00:43:45 2011 +0200

    Replaced occurance of "redundant" constant with its replacement
    
    And added LINTIAN_PROFILE to @ENV_VARS since lintian is expected
    to check for that.

diff --git a/frontend/lintian b/frontend/lintian
index 47dc6f4..c2a11c5 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -72,6 +72,7 @@ qw(
     LINTIAN_ARCHIVEDIR
     LINTIAN_AREA
     LINTIAN_DIST
+    LINTIAN_PROFILE
     LINTIAN_LAB
 ));
 
@@ -594,7 +595,7 @@ if ($opt{'LINTIAN_CFG'}) {
 	s,\~/,$ENV{'HOME'}/,go;
 
 	my $found = 0;
-	foreach my $var (VARS) {
+	foreach my $var (@ENV_VARS) {
 	    $var = "LINTIAN_$var";
 	    if (m/^\s*$var\s*=\s*(.*\S)\s*$/i) {
 		if (exists $conf_opt{$var}){

-- 
Debian package checker


Reply to: