From c1e94f8fa4b54328770d15265e795fcb08ce7357 Mon Sep 17 00:00:00 2001 From: ston1th Date: Tue, 3 Jan 2017 13:43:03 +0100 Subject: [PATCH] bump version to 1.7.4 --- build-go.sh | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/build-go.sh b/build-go.sh index a41a0ef..b70d6e3 100755 --- a/build-go.sh +++ b/build-go.sh @@ -11,7 +11,7 @@ GITHUB="https://github.com/golang/go/archive/" V14="go1.4.3" TGZ14="${V14}.tar.gz" -Vnew="go1.7.3" +Vnew="go1.7.4" TGZnew="${Vnew}.tar.gz" INSTALL="/usr/local" @@ -49,15 +49,17 @@ rm -rf go mv ${Vnew} go ln -s /usr/local/go /usr/local/go${Vnew} -export GOROOT="${INSTALL}/go" -export PATH="${PATH}:${GOROOT}/bin" +export GOROOT=${INSTALL}/go +export PATH=${PATH}:${GOROOT}/bin:~/go/bin -echo "add this to your .bashrc/.profile:" -echo "" -echo "export CGO_ENABLED=0" -echo "export GOPATH=~/go" -echo "export GOROOT=/usr/local/go" -echo "export PATH=\${PATH}:${GOROOT}/bin:~/go/bin" -echo "" +cat <