diff options
author | Thomas Bächler <thomas@archlinux.org> | 2008-08-24 07:13:40 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2008-08-24 07:13:40 +0200 |
commit | 80d0aa8912e5c4ec144c51a373d82f1063ebb170 (patch) | |
tree | c9e796e6da7b515655fdf9b879977e15070e15cb /extrapkg | |
parent | 0dec86c4c3340d9c14f1fc481d33aba57330c2d1 (diff) |
Aaron broke it0.6.3
Diffstat (limited to 'extrapkg')
-rwxr-xr-x | extrapkg | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |