From 844013303228a9d74969b67d4d355ebd20d3d6b7 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 17 Nov 2010 22:10:21 +0100 Subject: archbuild: simplify multilib call --- archbuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/archbuild b/archbuild index 5deb769..55c4633 100755 --- a/archbuild +++ b/archbuild @@ -3,12 +3,8 @@ base_packages='base base-devel sudo' cmd="$(basename "${0%-build}")" -if [ "${cmd}" == 'multilib' ]; then - repo='multilib' - arch='x86_64' - base_packages+=' gcc-multilib libtool-multilib' -elif [ "${cmd}" == 'multilib-testing' ]; then - repo='multilib-testing' +if [ "${cmd%-*}" == 'multilib' ]; then + repo="${cmd}" arch='x86_64' base_packages+=' gcc-multilib libtool-multilib' else -- cgit v1.2.3-70-g09d2