Move to gvm script directory
This commit is contained in:
parent
0d77074a93
commit
d334fbf399
|
@ -6302,6 +6302,10 @@ function upgrade_golang {
|
|||
# and contains hardcoded github. See if you can do better
|
||||
./binscripts/gvm-installer
|
||||
[[ -s "$HOME/.gvm/scripts/gvm" ]] && source "$HOME/.gvm/scripts/gvm"
|
||||
if [ ! -f $HOME/.gvm/scripts/gvm ]; then
|
||||
echo $'gvm was not installed'
|
||||
fi
|
||||
cd $HOME/.gvm/scripts
|
||||
gvm install go1.4
|
||||
gvm use go1.4
|
||||
export GOROOT_BOOTSTRAP=$GOROOT
|
||||
|
|
Loading…
Reference in New Issue