summaryrefslogtreecommitdiff
path: root/tools/build-release.sh
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2013-06-10 10:29:47 +0300
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-06-10 10:39:53 +0200
commit681e21b633a607b60423054d584abfdf5de8e9ed (patch)
tree6d4481a26f39339e853899dd9e2f9652dd4bde8a /tools/build-release.sh
parentfd9d53bc2fbc76e7f66489fe5af9db0d25a41df6 (diff)
tools: Fix build-release.sh to work with ARCH=amd64 for debian-based distros
Diffstat (limited to 'tools/build-release.sh')
-rw-r--r--tools/build-release.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/build-release.sh b/tools/build-release.sh
index f73ffc9..a602ec9 100644
--- a/tools/build-release.sh
+++ b/tools/build-release.sh
@@ -31,7 +31,8 @@ cerbero_distro_version=DistroVersion.`echo "$DISTRO"_"$DISTRO_VERSION" | awk '{p
if test $ARCH = "i386" || test $ARCH = "x86"; then
cerbero_arch=X86
-elif test $ARCH = "x86_64"; then
+elif test $ARCH = "amd64" || test $ARCH = "x86_64"; then
+ ARCH=x86_64
cerbero_arch=X86_64
else
die "Architecture $ARCH not supported"