bump version to 1.7.4
This commit is contained in:
parent
3a4a2177da
commit
c1e94f8fa4
1 changed files with 12 additions and 10 deletions
22
build-go.sh
22
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 <<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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue