summaryrefslogtreecommitdiff
path: root/archbuild
diff options
context:
space:
mode:
Diffstat (limited to 'archbuild')
-rwxr-xr-xarchbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/archbuild b/archbuild
index 55c4633..925d072 100755
--- a/archbuild
+++ b/archbuild
@@ -9,7 +9,7 @@ if [ "${cmd%-*}" == 'multilib' ]; then
base_packages+=' gcc-multilib libtool-multilib'
else
repo=${cmd%-*}
- arch=${cmd#*-}
+ arch=${cmd##*-}
fi
chroots='/var/tmp/archbuild'
clean_first=false