Call dpkg --print-architecture for determination of host architecture. (Closes: #589713)

git-svn-id: http://emdebian.org/svn/current@7326 563faec7-e20c-0410-992a-a66f704d0ccd
This commit is contained in:
codehelp 2010-07-20 10:00:16 +00:00
parent 85b4938c84
commit ad9dfd675d
2 changed files with 4 additions and 2 deletions

4
debian/changelog vendored
View file

@ -3,8 +3,10 @@ multistrap (2.1.6) unstable; urgency=low
* [INTL:fr] French manpage translation update (Closes: #584679)
* Allow check-deps.sh to proceed when detecting errors.
* Avoid unitialised Priority value.
* Call dpkg --print-architecture for determination of host
architecture. (Closes: #589713)
-- Neil Williams <codehelp@debian.org> Tue, 29 Jun 2010 13:47:53 +0100
-- Neil Williams <codehelp@debian.org> Tue, 20 Jul 2010 10:59:20 +0100
multistrap (2.1.5) unstable; urgency=low

View file

@ -118,7 +118,7 @@ if (not defined $dir or not defined $arch)
# Translators: fields are: programname, versionstring, configfile.
printf (_g("%s %s using %s\n"), $progname, $ourversion, $file);
$host = `dpkg-architecture -qDEB_BUILD_ARCH`;
$host = `dpkg --print-architecture`;
chomp ($host);
if ((not defined $arch) or ($arch eq ""))
{