Aaron broke it

This commit is contained in:
Thomas Bächler 2008-08-24 07:13:40 +02:00
parent 0dec86c4c3
commit 80d0aa8912
1 changed files with 5 additions and 0 deletions

View File

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