diff options
author | Tobias Columbus <tobias.columbus@googlemail.com> | 2012-07-27 14:42:50 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2012-07-31 19:34:26 -0500 |
commit | 6c54b5150ee70fe666e333abd7a54280a7dd3a1f (patch) | |
tree | 973fe907b948d06a1fcfabcb776f123c8b4ef48f /development | |
parent | fa8ec05716bdddae1d7023129304c0d583455bbc (diff) | |
download | slackbuilds-6c54b5150ee70fe666e333abd7a54280a7dd3a1f.tar.gz |
development/google-go-lang: Fix GARCH setting in build script
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development')
-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 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} |