diff options
author | Andrea Scarpino <andrea@archlinux.org> | 2010-11-21 13:27:25 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-11-22 16:07:14 +0100 |
commit | 25133fcd17f1edef751d70a649170013c0b01dbf (patch) | |
tree | 973d765e24358a915751e9cef2433712910d3461 | |
parent | e3d2f1a020b8df84182427fbb9f6f28c4afddc84 (diff) | |
download | devtools-25133fcd17f1edef751d70a649170013c0b01dbf.tar.gz devtools-25133fcd17f1edef751d70a649170013c0b01dbf.tar.xz |
Fetch the right architecture when a repo contains dash
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-rwxr-xr-x | archbuild | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |