shithub: 9scripts

ref: e7452232661c786d13e6cf75fa50143998365c51
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