go-betikleri-eklendi

This commit is contained in:
milisman 2016-05-09 00:56:02 +00:00
parent 1d05b863cf
commit a077ab3a31
2 changed files with 15 additions and 0 deletions

14
bin/go-yukselt.sh Executable file
View File

@ -0,0 +1,14 @@
#ustversion=1.6.2
ustversion=$1
cd /tmp
if [ ! -f go${ustversion}.src.tar.gz ];then
wget https://storage.googleapis.com/golang/go${ustversion}.src.tar.gz
fi
tar xf /sources/go${ustversion}.src.tar.gz -C .
ln -s /opt/go /$HOME/go1.4
cd go/src/
CGO_ENABLED=0; GOROOT_BOOTSTRAP=/opt/go
./make.bash
go version
rm /$HOME/go1.4
cd -

1
bin/go_ortam_ayarla.sh Normal file
View File

@ -0,0 +1 @@
cat /sources/milis.git/talimatname/genel/go/go-ortam.sh >> /etc/bashrc