Skip to content

Commit

Permalink
upgrade go to v1.11.5
Browse files Browse the repository at this point in the history
  • Loading branch information
polym committed Mar 5, 2019
1 parent c9b094f commit 084735d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ mkdir -p $HOME/golang/3rdpkg \
&& cd $HOME/golang \
&& wget http://collection.b0.upaiyun.com/softwares/go-src.tar.gz \
&& tar zxvf go-src.tar.gz && rm go-src.tar.gz \
&& cp -R go-src go-1.4 && cp -R go-src go-1.9
&& cp -R go-src go-1.4 && cp -R go-src go-1.11

export GOROOT=$HOME/golang/go
export GOROOT_BOOTSTRAP=$HOME/golang/go-1.4
Expand All @@ -62,8 +62,8 @@ ln -s $HOME/golang/go-1.4 $GOROOT
cd $GOROOT && git checkout go1.4.2 && cd src && CC=$CC CGO_ENABLED=0 ./make.bash
unlink $GOROOT

ln -s $HOME/golang/go-1.9 $GOROOT
cd $GOROOT && git checkout go1.9.5 && cd src && ./make.bash
ln -s $HOME/golang/go-1.11 $GOROOT
cd $GOROOT && git checkout go1.11.5 && cd src && ./make.bash

. $HOME/.bashrc.user

Expand Down

0 comments on commit 084735d

Please sign in to comment.