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

[SCM] Debian package checker branch, master, updated. 2.5.0-rc2-122-g12888e8



The following commit has been merged in the master branch:
commit 8a6f9f2c188dbe9c48313f40445b6906d355e32c
Author: Niels Thykier <niels@thykier.net>
Date:   Sun Jan 16 17:58:26 2011 +0100

    Handle --root "" the same way as LINTIAN_ROOT=""

diff --git a/frontend/lintian b/frontend/lintian
index f2936b8..900db4d 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -429,7 +429,7 @@ GetOptions(%opthash)
 $cwd = Cwd::getcwd();
 
 # determine LINTIAN_ROOT if it was not set with --root.
-$LINTIAN_ROOT = $LINTIAN_ROOT || $ENV{'LINTIAN_ROOT'};
+$LINTIAN_ROOT = $ENV{'LINTIAN_ROOT'} unless (defined($LINTIAN_ROOT));
 if (defined $LINTIAN_ROOT) {
     unless ($LINTIAN_ROOT =~ m,^/,) {
 	$LINTIAN_ROOT = "$cwd/$LINTIAN_ROOT";

-- 
Debian package checker


Reply to: