Add '64' suffix back to extrapkg

This was accidentally scrubbed, breaking 64bit uploads

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
Aaron Griffin 2008-04-08 01:48:43 -05:00
parent fd04791f5b
commit d01f3d53e8
1 changed files with 10 additions and 0 deletions

View File

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