From d01f3d53e8d76a09d188d3001f40c652614ccf11 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Tue, 8 Apr 2008 01:48:43 -0500 Subject: Add '64' suffix back to extrapkg This was accidentally scrubbed, breaking 64bit uploads Signed-off-by: Aaron Griffin --- extrapkg | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/extrapkg b/extrapkg index f6670b4..d042300 100755 --- a/extrapkg +++ b/extrapkg @@ -20,6 +20,16 @@ if [ ! -f PKGBUILD ]; then exit 1 fi +# define staging areas based on architecture +if [ "$CARCH" = "i686" ]; then + suffix='' +elif [ "$CARCH" = "x86_64" ]; then + suffix='64' +else + 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