some updates
This commit is contained in:
parent
94bc968fe8
commit
ed0094342c
3 changed files with 51 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ GITHUB="https://github.com/golang/go/archive/"
|
|||
V14="go1.4.3"
|
||||
TGZ14="${V14}.tar.gz"
|
||||
|
||||
Vnew="go1.5.1"
|
||||
Vnew="go1.5.2"
|
||||
TGZnew="${Vnew}.tar.gz"
|
||||
|
||||
INSTALL="/usr/local"
|
||||
|
|
@ -47,6 +47,7 @@ cd ${INSTALL}/${Vnew}/src
|
|||
cd ${INSTALL}
|
||||
rm -rf go
|
||||
mv ${Vnew} go
|
||||
ln -s /usr/local/go /usr/local/go${Vnew}
|
||||
|
||||
export GOROOT="${INSTALL}/go"
|
||||
export PATH="${PATH}:${GOROOT}/bin"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue