]> git.donarmstrong.com Git - debhelper.git/commitdiff
Allow dpkg-architecture to print errors to stderr. Closes: #548636
authorJoey Hess <joey@gnu.kitenet.net>
Mon, 28 Sep 2009 01:23:46 +0000 (21:23 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Mon, 28 Sep 2009 01:23:46 +0000 (21:23 -0400)
Debian/Debhelper/Dh_Lib.pm
debian/changelog

index 5a0b794759add819a02738d371524480d8499d13..325c7fc3823e895e2cd483cc8085d9cea00281a6 100644 (file)
@@ -608,7 +608,7 @@ sub excludefile {
 
 sub dpkg_architecture_value {
        my $var = shift;
-       my $value=`dpkg-architecture -q$var 2>/dev/null` || error("dpkg-architecture failed");
+       my $value=`dpkg-architecture -q$var` || error("dpkg-architecture failed");
        chomp $value;
        return $value;
 }
index 02b0c5f96109716f84da6ba993d6ffeb26269784..e3c3efe29c217e2a5656e53e79778f116acbe6c5 100644 (file)
@@ -8,6 +8,7 @@ debhelper (7.4.3) UNRELEASED; urgency=low
   [ Joey Hess ]
   * dh_perl: Do not look at perl scripts under /usr/share/doc.
     Closes: #546683
+  * Allow dpkg-architecture to print errors to stderr. Closes: #548636
 
  -- Joey Hess <joeyh@debian.org>  Tue, 15 Sep 2009 13:18:35 -0400