Browse Source

Use go 1.9 in build-package.sh

android-5
Fredrik Fornwall 7 years ago
parent
commit
0dc547ae70
  1. 4
      build-package.sh

4
build-package.sh

@ -70,7 +70,7 @@ termux_setup_golang() {
termux_error_exit "Unsupported arch: $TERMUX_ARCH"
fi
local TERMUX_GO_VERSION=go1.8.3
local TERMUX_GO_VERSION=go1.9
local TERMUX_GO_PLATFORM=linux-amd64
local TERMUX_BUILDGO_FOLDER=$TERMUX_COMMON_CACHEDIR/${TERMUX_GO_VERSION}
@ -83,7 +83,7 @@ termux_setup_golang() {
rm -Rf "$TERMUX_COMMON_CACHEDIR/go" "$TERMUX_BUILDGO_FOLDER"
termux_download https://storage.googleapis.com/golang/${TERMUX_GO_VERSION}.${TERMUX_GO_PLATFORM}.tar.gz \
"$TERMUX_BUILDGO_TAR" \
1862f4c3d3907e59b04a757cfda0ea7aa9ef39274af99a784f5be843c80c6772
d70eadefce8e160638a9a6db97f7192d8463069ab33138893ad3bf31b0650a79
( cd "$TERMUX_COMMON_CACHEDIR"; tar xf "$TERMUX_BUILDGO_TAR"; mv go "$TERMUX_BUILDGO_FOLDER"; rm "$TERMUX_BUILDGO_TAR" )
}

Loading…
Cancel
Save