diff options
Diffstat (limited to 'archbuild')
-rwxr-xr-x | archbuild | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -4,6 +4,9 @@ cmd="$(basename "${0%-build}")" if [ "${cmd}" == 'multilib' ]; then repo='multilib' arch='x86_64' +elif [ "${cmd}" == 'multilib-testing' ]; then + repo='multilib-testing' + arch='x86_64' else repo=${cmd%-*} arch=${cmd#*-} @@ -31,11 +34,6 @@ if [ "$(uname -m)" == 'i686' -a "${arch}" != 'i686' ]; then exit 1 fi -if [ "$(uname -m)" != 'x86_64' -a "${repo}" == 'multilib' ]; then - echo 'You can only build multilib packages on a x86_64 system' - exit 1 -fi - if ${clean_first} || [ ! -d "${chroots}/${repo}-${arch}" ]; then echo "Creating chroot for [${repo}] (${arch})..." sudo rm -rf ${chroots}/${repo}-${arch} |