summaryrefslogtreecommitdiff
path: root/development/google-go-lang/google-go-lang.SlackBuild
diff options
context:
space:
mode:
authorVincent Batts <vbatts@gmail.com>2014-10-31 03:48:13 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-31 03:48:13 +0700
commit3c6a632a10404598fb6b68bff38c08f954bb912c (patch)
tree7f58ee2d9df3a9be8f9feedf592c0aee66ccb48c /development/google-go-lang/google-go-lang.SlackBuild
parent5427b05e838392e9390b06403ffd152f1b2ae543 (diff)
downloadslackbuilds-3c6a632a10404598fb6b68bff38c08f954bb912c.tar.gz
development/google-go-lang: Allow disable test.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/google-go-lang/google-go-lang.SlackBuild')
-rw-r--r--development/google-go-lang/google-go-lang.SlackBuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/development/google-go-lang/google-go-lang.SlackBuild b/development/google-go-lang/google-go-lang.SlackBuild
index edf7b39d8a..67c8785bac 100644
--- a/development/google-go-lang/google-go-lang.SlackBuild
+++ b/development/google-go-lang/google-go-lang.SlackBuild
@@ -28,11 +28,13 @@
PRGNAM=google-go-lang
VERSION=${VERSION:-1.3.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
RELEASE=${RELEASE:-linux}
+RUN_TEST=${RUN_TEST:-true}
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -89,8 +91,13 @@ unset BASH_ENV # Not sure why, but this causes run.bash to fail --rworkman
mkdir -p "${GOBIN}"
cd src
-LC_ALL=C \
-./all.bash
+if [ "x${RUN_TEST}" = "xtrue" ] ; then
+ LC_ALL=C \
+ ./all.bash
+else
+ LC_ALL=C \
+ ./make.bash
+fi
cd ..