diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-09-11 19:09:05 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-09-11 19:09:05 +0200 |
commit | a9bfd8d2c96567b03e827657d248d8e46c85ccff (patch) | |
tree | ebd9f87e940f79c9c639f6121fe9a06f9fae6549 /archbuild | |
parent | 0d0e1a9079654aa48b75879ef8267ea82b6b879c (diff) | |
download | devtools-a9bfd8d2c96567b03e827657d248d8e46c85ccff.tar.gz devtools-a9bfd8d2c96567b03e827657d248d8e46c85ccff.tar.xz |
ad support for multilib-testing
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} |