development/google-go-lang: Fix GARCH setting in build script

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Tobias Columbus 2012-07-27 14:42:50 -05:00 committed by Erik Hanson
parent fa8ec05716
commit 6c54b5150e
1 changed files with 6 additions and 8 deletions

View File

@ -26,18 +26,16 @@
PRGNAM=google-go-lang
VERSION=${VERSION:-1}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
RELEASE=${RELEASE:-linux}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486; GARCH=386 ;;
x86_64) ARCH=x86_64; GARCH=amd64 ;;
*) ARCH=$( uname -m ) ;;
esac
fi
case "$( uname -m )" in
i?86) ARCH=i486; GARCH=386 ;;
x86_64) ARCH=x86_64; GARCH=amd64 ;;
*) ARCH=$( uname -m ) ;;
esac
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}