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

[SCM] Debian package checker branch, master, updated. 2.5.13-5-g1d3c53c



The following commit has been merged in the master branch:
commit 1d3c53c312e100641c6bb2cdbb283ec562165a1b
Author: Niels Thykier <niels@thykier.net>
Date:   Thu May 30 14:05:54 2013 +0200

    r/harness: Reduce scope of $cmd variable
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/reporting/harness b/reporting/harness
index 6fb8815..3025a24 100755
--- a/reporting/harness
+++ b/reporting/harness
@@ -204,10 +204,6 @@ unless ($opt{'reports-only'}) {
     my %skip = ();
     my @worklist;
     my %dirty_groups = ();
-    # Use the FullEWI output as it is less ambiguous for html_reports - it shouldn't make a difference
-    # but still...
-    my $cmd ="$lintian_cmd -I -E --pedantic -v --show-overrides -U changelog-file".
-        ' --exp-output=format=fullewi --packages-from-file -';
     # Remove old/stale packages from the lab
     foreach my $diff (@diffs) {
         my $type = $diff->type;
@@ -376,7 +372,8 @@ unless ($opt{'reports-only'}) {
     Log ('');
 
     if (@worklist) {
-        # incremental run cmd changes
+        my $cmd ="$lintian_cmd -I -E --pedantic -v --show-overrides -U changelog-file".
+            ' --exp-output=format=fullewi --packages-from-file -';
         my $scs = $opt{'schedule-chuck-size'};
         my $round = 0;
         my $rounds = 1;
@@ -439,7 +436,6 @@ unless ($opt{'reports-only'}) {
             }
         }
     } else {
-        $cmd = undef;
         Log ('Skipping Lintian run - nothing to do...');
     }
 }

-- 
Debian package checker


Reply to: