index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
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 | |
parent | 0adf83fadf4570e423485531fe863f79a79a5190 (diff) |
-rwxr-xr-x | archbuild | 8 |
@@ -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 |