Create gvm_root directory
This commit is contained in:
parent
2c84b8c064
commit
35a44820ab
|
@ -6375,6 +6375,9 @@ function upgrade_golang {
|
|||
fi
|
||||
|
||||
export GVM_ROOT=$GVM_HOME
|
||||
if [ ! -d $GVM_ROOT ]; then
|
||||
mkdir -p $GVM_ROOT
|
||||
fi
|
||||
[[ -s "$GVM_ROOT/scripts/gvm" ]] && source "$GVM_ROOT/scripts/gvm"
|
||||
if [ ! -f $GVM_ROOT/bin/gvm ]; then
|
||||
echo $'gvm was not installed'
|
||||
|
|
Loading…
Reference in New Issue