summaryrefslogtreecommitdiff
path: root/archbuild
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-09-11 19:09:05 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-09-11 19:09:05 +0200
commita9bfd8d2c96567b03e827657d248d8e46c85ccff (patch)
treeebd9f87e940f79c9c639f6121fe9a06f9fae6549 /archbuild
parent0d0e1a9079654aa48b75879ef8267ea82b6b879c (diff)
downloaddevtools32-a9bfd8d2c96567b03e827657d248d8e46c85ccff.tar.xz
ad support for multilib-testing
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}