diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2017-07-25 07:06:06 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-19 11:08:13 +0000 |
| commit | 9a63a1722890cbd1b80b6d6df7d2c527f82809f8 (patch) | |
| tree | e434749278f352645ef7784c7f98005aac0c18ea | |
| parent | eb0a7d081131a287983753d89933c499fc1864c8 (diff) | |
| download | abuild-9a63a1722890cbd1b80b6d6df7d2c527f82809f8.tar.bz2 abuild-9a63a1722890cbd1b80b6d6df7d2c527f82809f8.tar.xz | |
abuild: exit with success if arch is disabled
the set -e made script exit early
| -rw-r--r-- | abuild.in | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |
