bump version to 1.7.4

This commit is contained in:
ston1th 2017-01-03 13:43:03 +01:00
commit c1e94f8fa4

View file

@ -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 <<EOF
add this to your .bashrc/.profile:
export CGO_ENABLED=${CGO_ENABLED}
export GOPATH=~/go
export GOROOT=${GOROOT}
export PATH=\${PATH}:${GOROOT}:~/go/bin
EOF
go version