go-betikleri-eklendi
This commit is contained in:
parent
1d05b863cf
commit
a077ab3a31
|
@ -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 -
|
|
@ -0,0 +1 @@
|
|||
cat /sources/milis.git/talimatname/genel/go/go-ortam.sh >> /etc/bashrc
|
Loading…
Reference in New Issue