mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-23 23:42:35 +00:00
checkapk: sanity check that we have CARCH set
This commit is contained in:
parent
0c02afc694
commit
a924d3c171
@ -39,6 +39,10 @@ if ! [ -f APKBUILD ]; then
|
||||
die 'must be run in the directory of a built package'
|
||||
fi
|
||||
|
||||
if ! [ -n "$CARCH" ]; then
|
||||
die "failed to detect CARCH"
|
||||
fi
|
||||
|
||||
. ./APKBUILD
|
||||
|
||||
startdir="$PWD"
|
||||
|
Loading…
Reference in New Issue
Block a user