From 6c54b5150ee70fe666e333abd7a54280a7dd3a1f Mon Sep 17 00:00:00 2001 From: Tobias Columbus Date: Fri, 27 Jul 2012 14:42:50 -0500 Subject: development/google-go-lang: Fix GARCH setting in build script Signed-off-by: Robby Workman --- development/google-go-lang/google-go-lang.SlackBuild | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'development/google-go-lang') diff --git a/development/google-go-lang/google-go-lang.SlackBuild b/development/google-go-lang/google-go-lang.SlackBuild index eee2dc9ad0..227a79f273 100644 --- a/development/google-go-lang/google-go-lang.SlackBuild +++ b/development/google-go-lang/google-go-lang.SlackBuild @@ -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} -- cgit v1.2.3