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'
|
die 'must be run in the directory of a built package'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! [ -n "$CARCH" ]; then
|
||||||
|
die "failed to detect CARCH"
|
||||||
|
fi
|
||||||
|
|
||||||
. ./APKBUILD
|
. ./APKBUILD
|
||||||
|
|
||||||
startdir="$PWD"
|
startdir="$PWD"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user