From a9bfd8d2c96567b03e827657d248d8e46c85ccff Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 11 Sep 2010 19:09:05 +0200 Subject: ad support for multilib-testing --- archbuild | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'archbuild') diff --git a/archbuild b/archbuild index 6967dce..3f7a484 100755 --- a/archbuild +++ b/archbuild @@ -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} -- cgit v1.2.3-70-g09d2