shithub: 9scripts

ref: ef196389c6d8bb595d1d1c4e064ca276da030ddd
dir: /install-go.rc/

View raw version
#! /bin/rc
cd /tmp
hget http://www.9legacy.org/download/go/go1.14.1-plan9-amd64-bootstrap.tbz | bunzip2 -c | tar x
hget https://golang.org/dl/go1.15.2.src.tar.gz | gunzip -c | tar 
GOROOT_BOOTSTRAP=/tmp/go-plan9-amd64-bootstrap
make.rc
cp /sys/lib/go/amd64-1.15.2/bin/* /$objtype/bin