summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-27 14:26:15 +0200
committerErich Eckner <git@eckner.net>2017-06-27 14:26:15 +0200
commitaadec7dfbe61ee0cec3983f719a84ffdf589f81a (patch)
treeb97a4680c339181301f3e07468e1afcb692cf756
parent009695baff721d2b962c0a85339bcb4af6e1571f (diff)
downloaddevtools32-aadec7dfbe61ee0cec3983f719a84ffdf589f81a.tar.xz
archbuild: use correct pacman config file for x86_64
-rw-r--r--archbuild.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/archbuild.in b/archbuild.in
index 5044e0a..61d1c6c 100644
--- a/archbuild.in
+++ b/archbuild.in
@@ -17,7 +17,11 @@ else
tag="${cmd%-build}"
repo=${tag%-*}
arch=${tag##*-}
- arch_ext="-${arch}"
+ if [ "${arch}" = 'x86_64' ]; then
+ arch_ext=''
+ else
+ arch_ext="-${arch}"
+ fi
fi
chroots='/var/lib/archbuild'
clean_first=false