Test for gopath
This commit is contained in:
parent
81ed974d4b
commit
ace9bf07c3
|
@ -2645,6 +2645,11 @@ function select_go_version {
|
|||
cd $HOME/.gvm/scripts
|
||||
gvm use go${GO_VERSION} --default
|
||||
systemctl set-environment GOPATH=$GOPATH
|
||||
|
||||
if [ ${#GOPATH} -lt 2 ]; then
|
||||
echo $'GOPATH was not set'
|
||||
exit 629825
|
||||
fi
|
||||
}
|
||||
|
||||
function mesh_cjdns_tools {
|
||||
|
|
Loading…
Reference in New Issue