diff options
-rw-r--r-- | checkapk.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/checkapk.in b/checkapk.in index 0d31a0c..98da12a 100644 --- a/checkapk.in +++ b/checkapk.in @@ -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" |