summaryrefslogtreecommitdiff
path: root/archbuild
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-11-17 22:10:21 +0100
committerPierre Schmitz <pierre@archlinux.de>2010-11-17 22:10:21 +0100
commit844013303228a9d74969b67d4d355ebd20d3d6b7 (patch)
tree9dcb2b7ba8dcab23c11221d564024ff54b848518 /archbuild
parent0adf83fadf4570e423485531fe863f79a79a5190 (diff)
downloaddevtools-844013303228a9d74969b67d4d355ebd20d3d6b7.tar.xz
archbuild: simplify multilib call
Diffstat (limited to 'archbuild')
-rwxr-xr-xarchbuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/archbuild b/archbuild
index 5deb769..55c4633 100755
--- a/archbuild
+++ b/archbuild
@@ -3,12 +3,8 @@
base_packages='base base-devel sudo'
cmd="$(basename "${0%-build}")"
-if [ "${cmd}" == 'multilib' ]; then
- repo='multilib'
- arch='x86_64'
- base_packages+=' gcc-multilib libtool-multilib'
-elif [ "${cmd}" == 'multilib-testing' ]; then
- repo='multilib-testing'
+if [ "${cmd%-*}" == 'multilib' ]; then
+ repo="${cmd}"
arch='x86_64'
base_packages+=' gcc-multilib libtool-multilib'
else