summaryrefslogtreecommitdiff
path: root/Debian
diff options
context:
space:
mode:
authorjoey <joey>2002-10-17 00:41:45 +0000
committerjoey <joey>2002-10-17 00:41:45 +0000
commit79cd10da45b0324c7e8e18c4f7daffbd1d245fab (patch)
treef1ddf71d453dd8a8664a519701063c1cea79f3ff /Debian
parentc9bbccaeb003be867ff5c8e8b015da77c9156fc7 (diff)
r558: * Use dpkg-architecture instead of dpkg --print-architecture (again?)
See #164863 * typo fix Closes: #164958 The rest seems clear enough from context, so omitted.
Diffstat (limited to 'Debian')
-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 3b7a519..7770b5a 100644
--- a/Debian/Debhelper/Dh_Lib.pm
+++ b/Debian/Debhelper/Dh_Lib.pm
@@ -500,7 +500,7 @@ sub excludefile {
sub buildarch {
return $arch if defined $arch;
- $arch=`dpkg --print-architecture` || error($!);
+ $arch=`dpkg-architecture -qDEB_HOST_ARCH 2>/dev/null` || error($!);
chomp $arch;
return $arch;
}