From 9a63a1722890cbd1b80b6d6df7d2c527f82809f8 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 25 Jul 2017 07:06:06 +0000 Subject: abuild: exit with success if arch is disabled the set -e made script exit early --- abuild.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/abuild.in b/abuild.in index 595f09b..0370ac6 100644 --- a/abuild.in +++ b/abuild.in @@ -2266,8 +2266,7 @@ index() { update_abuildrepo_index; } all() { if ! [ -n "$force" ]; then - check_arch - if [ $? -ne 0 ]; then + if ! check_arch; then echo "Package not available for the target architecture ($CARCH). Aborting." return 0 fi -- cgit v1.2.3-70-g09d2