[shell-common] Add GOROOT bin folder to path

This commit is contained in:
2021-07-04 13:25:58 +01:00
parent a18c87ed5b
commit 861e5decf3

View File

@@ -17,6 +17,7 @@ fi
# Go stuff # Go stuff
export GOPATH=$HOME/go/ export GOPATH=$HOME/go/
export PATH=${GOPATH}bin:$PATH
if [ -z ${GOROOT+x} ] && [ -d /usr/local/go ]; then if [ -z ${GOROOT+x} ] && [ -d /usr/local/go ]; then
export GOROOT=/usr/local/go/ export GOROOT=/usr/local/go/
export PATH=$PATH:$HOME/go/bin export PATH=$PATH:$HOME/go/bin