diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-11-17 22:10:21 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-11-17 22:10:21 +0100 |
commit | 844013303228a9d74969b67d4d355ebd20d3d6b7 (patch) | |
tree | 9dcb2b7ba8dcab23c11221d564024ff54b848518 /archbuild | |
parent | 0adf83fadf4570e423485531fe863f79a79a5190 (diff) | |
download | devtools-844013303228a9d74969b67d4d355ebd20d3d6b7.tar.gz devtools-844013303228a9d74969b67d4d355ebd20d3d6b7.tar.xz |
archbuild: simplify multilib call
Diffstat (limited to 'archbuild')
-rwxr-xr-x | archbuild | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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 |