Commit 9a63a172 authored by Natanael Copa's avatar Natanael Copa

abuild: exit with success if arch is disabled

the set -e made script exit early
parent eb0a7d08
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment