diff options
Diffstat (limited to 'development/google-go-lang/google-go-lang.SlackBuild')
-rw-r--r-- | development/google-go-lang/google-go-lang.SlackBuild | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/development/google-go-lang/google-go-lang.SlackBuild b/development/google-go-lang/google-go-lang.SlackBuild index eee2dc9ad0e58..227a79f273431 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} |