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

[SCM] Debian package checker branch, master, updated. 2.5.4-20-gc452b09



The following commit has been merged in the master branch:
commit c452b09c3fa22de8013bc2068cb979da7ff47b8b
Author: Niels Thykier <niels@thykier.net>
Date:   Fri Dec 2 23:36:29 2011 +0100

    Print the location of temp labs with --verbose
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/debian/changelog b/debian/changelog
index 6211485..f8018b5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,8 @@ lintian (2.5.5) UNRELEASED; urgency=low
 
   * frontend/lintian:
     + [NT] Allow -U to be given more than once.
+    + [JW,NT] If using a temporary lab, print its location when
+      using --verbose option.  (Closes: #650433)
 
   * lib/Lintian/Collect/{Binary,Source}.pm:
     + [NT] Assume packages to be non-native when it cannot be
diff --git a/frontend/lintian b/frontend/lintian
index 7517c1b..dee7fed 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -879,7 +879,7 @@ if ($action eq 'setup-lab') {
     fail("bad action $action specified");
 }
 
-if ($LAB->is_temp) {
+if (!$LAB->is_temp) {
     # sanity check:
     fail('lintian lab has not been set up correctly (perhaps you forgot to run lintian --setup-lab?)')
         unless $LAB->exists;
@@ -893,6 +893,8 @@ $LAB->open;
 #  $LAB->dir is always absolute
 $ENV{'LINTIAN_LAB'} = $opt{'LINTIAN_LAB'} = $LAB->dir;
 
+v_msg ("Setting up lab in $opt{'LINTIAN_LAB'} ...")
+    if $LAB->is_temp;
 
 # }}}
 

-- 
Debian package checker


Reply to: