mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-23 23:42:35 +00:00
abuild: print a message if aborting due to architecture mismatch.
This commit is contained in:
parent
ef0d32d15a
commit
b4fb3c6a81
@ -1764,7 +1764,11 @@ uninstalldeps() { undeps; }
|
||||
|
||||
all() {
|
||||
if ! [ -n "$force" ]; then
|
||||
check_arch || return 0
|
||||
check_arch
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Package not available for the target architecture ($CARCH). Aborting."
|
||||
return 0
|
||||
fi
|
||||
check_libc || return 0
|
||||
fi
|
||||
if up2date && [ -z "$force" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user