diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-04-08 01:48:43 -0500 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-04-08 01:48:43 -0500 |
commit | d01f3d53e8d76a09d188d3001f40c652614ccf11 (patch) | |
tree | a0a9f6f9ec12a362f1f0eb86632cb71708542451 | |
parent | fd04791f5b42c3f65519d55262ac4d4660a40f1d (diff) | |
download | devtools32-d01f3d53e8d76a09d188d3001f40c652614ccf11.tar.xz |
Add '64' suffix back to extrapkg
This was accidentally scrubbed, breaking 64bit uploads
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-x | extrapkg | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |