aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/google-appengine-gosdk/google-appengine-gosdk.SlackBuild12
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}