checkapk: sanity check that we have CARCH set

This commit is contained in:
Natanael Copa 2013-10-25 07:19:30 +00:00
parent 0c02afc694
commit a924d3c171

View File

@ -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"