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

[lintian] 02/02: r/harness: Fix compile restriction



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit b908888aed3908cabcca004a239cda59117bfc2a
Author: Niels Thykier <niels@thykier.net>
Date:   Sun Sep 14 15:01:12 2014 +0200

    r/harness: Fix compile restriction
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 reporting/harness | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/reporting/harness b/reporting/harness
index f7cdc16..9618495 100755
--- a/reporting/harness
+++ b/reporting/harness
@@ -123,7 +123,6 @@ my @lintian_cmd = (
 my $STATE_DIR = $HARNESS_STATE_DIR;
 my $START_TIME = time();
 my $state;
-chomp($LINTIAN_VERSION);
 
 # import perl libraries
 unshift @INC, "$LINTIAN_ROOT/lib";
@@ -140,6 +139,7 @@ import Lintian::Util qw(open_gz slurp_entire_file strip visit_dpkg_paragraph
 
 my $LINTIAN_VERSION
   = safe_qx("$LINTIAN_ROOT/frontend/lintian",'--print-version');
+chomp($LINTIAN_VERSION);
 
 # turn file buffering off
 STDOUT->autoflush;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: