development/google-go-lang: Fix GARCH setting in build script
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
fa8ec05716
commit
6c54b5150e
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue