Commit a924d3c1 authored by Natanael Copa's avatar Natanael Copa
Browse files

checkapk: sanity check that we have CARCH set

parent 0c02afc6
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment