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

[lintian] 01/01: lintian: Fix broken "--packages-from-file -"



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

nthykier pushed a commit to branch master
in repository lintian.

commit ddac4d2ea37f05f195585af0138e6c616b84a54a
Author: Niels Thykier <niels@thykier.net>
Date:   Thu Mar 27 19:57:58 2014 +0100

    lintian: Fix broken "--packages-from-file -"
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 debian/changelog | 5 +++++
 frontend/lintian | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 37f28ac..93d28d6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,11 @@ lintian (2.5.23) UNRELEASED; urgency=medium
   * data/spelling/corrections:
     + [RG] Add "functiosn" to the list of spelling mistakes.
 
+  * frontend/lintian:
+    + [NT] Fix a regression that completely broke the
+      command-line argument "--packages-from-file", when
+      the file was "-".
+
  -- Niels Thykier <niels@thykier.net>  Tue, 25 Mar 2014 22:51:16 +0100
 
 lintian (2.5.22) unstable; urgency=medium
diff --git a/frontend/lintian b/frontend/lintian
index 7b0156a..08eb290 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -1766,7 +1766,7 @@ sub _guess_version {
               unless exists $ENV{'IPCRUNDEBUG'};
             require IPC::Run;
             IPC::Run::run(['git', "--git-dir=$INIT_ROOT/.git", 'describe'],
-                \undef, \$guess, \undef);
+                \undef, \$guess, '2>/dev/null');
             chomp $guess;
         };
         return $guess if $guess;

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


Reply to: