summaryrefslogtreecommitdiffstats
path: root/archbuild
diff options
context:
space:
mode:
Diffstat (limited to 'archbuild')
-rwxr-xr-xarchbuild8
1 files changed, 3 insertions, 5 deletions
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}