summaryrefslogtreecommitdiffstats
path: root/archbuild
diff options
context:
space:
mode:
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