diff options
Diffstat (limited to 'development/google-go-lang/google-go-lang.SlackBuild')
-rw-r--r-- | development/google-go-lang/google-go-lang.SlackBuild | 13 |
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 .. |