go-betikleri-eklendi
This commit is contained in:
parent
1d05b863cf
commit
a077ab3a31
2 changed files with 15 additions and 0 deletions
14
bin/go-yukselt.sh
Executable file
14
bin/go-yukselt.sh
Executable 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
1
bin/go_ortam_ayarla.sh
Normal file
|
@ -0,0 +1 @@
|
|||
cat /sources/milis.git/talimatname/genel/go/go-ortam.sh >> /etc/bashrc
|
Loading…
Add table
Reference in a new issue