From 80d0aa8912e5c4ec144c51a373d82f1063ebb170 Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Sun, 24 Aug 2008 07:13:40 +0200 Subject: Aaron broke it --- extrapkg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extrapkg b/extrapkg index fa72c53..dada38a 100755 --- a/extrapkg +++ b/extrapkg @@ -20,6 +20,11 @@ if [ ! -f PKGBUILD ]; then exit 1 fi +if [ -z "$CARCH" ]; then + echo "CARCH must be set to a recognized value!" + exit 1 +fi + source PKGBUILD pkgfile=${pkgname}-${pkgver}-${pkgrel}-${CARCH}.pkg.tar.gz oldstylepkgfile=${pkgname}-${pkgver}-${pkgrel}.pkg.tar.gz -- cgit v1.2.3-70-g09d2