diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2012-09-16 22:14:13 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-16 22:14:13 -0500 |
commit | a2a42ebd00a18785718eca8c8945c405a9493a34 (patch) | |
tree | 41639455ee9c2b49a1fa7288c19a81751c32fe6d /development/google-appengine-gosdk | |
parent | e17dd7ed4922fe49bd6796d9f8a21c07c2c3764a (diff) |
development/google-appengine-gosdk: Fixed ARCH detection
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/google-appengine-gosdk')
-rw-r--r-- | development/google-appengine-gosdk/google-appengine-gosdk.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/development/google-appengine-gosdk/google-appengine-gosdk.SlackBuild b/development/google-appengine-gosdk/google-appengine-gosdk.SlackBuild index 59208221d1c1b..9f893607009d8 100644 --- a/development/google-appengine-gosdk/google-appengine-gosdk.SlackBuild +++ b/development/google-appengine-gosdk/google-appengine-gosdk.SlackBuild @@ -29,13 +29,11 @@ VERSION=${VERSION:-1.6.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -if [ -z "$ARCH" -a -z "$GOARCH" ]; then - case "$( uname -m )" in - i?86) ARCH="i486" ; GARCH="386" ;; - x86_64) ARCH="x86_64"; GARCH="amd64" ;; - *) echo "Package for $(uname -m) architecture is not available." ; exit 1;; - esac -fi +case "$( uname -m )" in + i?86) ARCH="i386" ; GARCH="386" ;; + x86_64) ARCH="x86_64"; GARCH="amd64" ;; + *) echo "Package for $(uname -m) architecture is not available." ; exit 1;; +esac CWD=$(pwd) TMP=${TMP:-/tmp/SBo} |