abuild: exit with success if arch is disabled

the set -e made script exit early
This commit is contained in:
Natanael Copa 2017-07-25 07:06:06 +00:00
parent eb0a7d0811
commit 9a63a17228

View File

@ -2266,8 +2266,7 @@ index() { update_abuildrepo_index; }
all() { all() {
if ! [ -n "$force" ]; then if ! [ -n "$force" ]; then
check_arch if ! check_arch; then
if [ $? -ne 0 ]; then
echo "Package not available for the target architecture ($CARCH). Aborting." echo "Package not available for the target architecture ($CARCH). Aborting."
return 0 return 0
fi fi