13 lines
202 B
Bash
13 lines
202 B
Bash
|
# go toolchain env paths
|
||
|
gopath=lib
|
||
|
arch=386
|
||
|
if [ -x /usr/lib64/go ] ; then
|
||
|
gopath=lib64
|
||
|
arch=amd64
|
||
|
fi
|
||
|
|
||
|
export GOOS="linux"
|
||
|
export GOARCH=$arch
|
||
|
export GOROOT=/usr/$gopath/go
|
||
|
export GOBIN=/usr/bin
|