From 25133fcd17f1edef751d70a649170013c0b01dbf Mon Sep 17 00:00:00 2001 From: Andrea Scarpino Date: Sun, 21 Nov 2010 13:27:25 +0100 Subject: Fetch the right architecture when a repo contains dash Signed-off-by: Pierre Schmitz --- archbuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archbuild') 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 -- cgit v1.2.3-70-g09d2