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() {
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