summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-15 13:43:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-15 13:43:52 +0000
commit94667e99936928d1e6f36b3b534410d21ed13b23 (patch)
treed7a9457845ad8520712c2aa221fadfa38df69ede /abuild.in
parent2951b99c708d5a50f2dbd44a6008aab9536fedc4 (diff)
downloadabuild-94667e99936928d1e6f36b3b534410d21ed13b23.tar.gz
abuild-94667e99936928d1e6f36b3b534410d21ed13b23.tar.bz2
abuild-94667e99936928d1e6f36b3b534410d21ed13b23.tar.xz
abuild-94667e99936928d1e6f36b3b534410d21ed13b23.zip
abuild: support arch=all
Diffstat (limited to 'abuild.in')
-rwxr-xr-xabuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index ba63357..c0e96f9 100755
--- a/abuild.in
+++ b/abuild.in
@@ -771,7 +771,7 @@ srcpkg() {
# return true if arch is supported or noarch
check_arch() {
- list_has $CARCH $arch || list_has noarch $arch
+ list_has $CARCH $arch || [ "$arch" = "noarch" ] || [ "$arch" = "all" ]
}
# check if package is up to date