From 1d291c47cd4ace2f97671a464c148ad4a138fce8 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 25 Jul 2017 07:06:06 +0000 Subject: [PATCH] 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 f935454..95e7a46 100644 --- a/abuild.in +++ b/abuild.in @@ -2247,8 +2247,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 -- 2.13.2