summaryrefslogtreecommitdiff
path: root/Debian/Debhelper/Dh_Lib.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-09-27 21:23:46 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-09-27 21:23:46 -0400
commit94779d835808c3dc91502e4abb39d79e4716dda3 (patch)
tree01d4e9a2c09a759bb169b451b06ac677b1a66739 /Debian/Debhelper/Dh_Lib.pm
parent22480567cdff485a5a2bf5e1064d6f18a84a5d9b (diff)
Allow dpkg-architecture to print errors to stderr. Closes: #548636
Diffstat (limited to 'Debian/Debhelper/Dh_Lib.pm')
-rw-r--r--Debian/Debhelper/Dh_Lib.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm
index 5a0b794..325c7fc 100644
--- a/Debian/Debhelper/Dh_Lib.pm
+++ b/Debian/Debhelper/Dh_Lib.pm
@@ -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;
}