mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-23 23:42:35 +00:00
abuild: exit with success if arch is disabled
the set -e made script exit early
This commit is contained in:
parent
eb0a7d0811
commit
9a63a17228
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user