Move to gvm script directory

This commit is contained in:
Bob Mottram 2016-04-29 10:25:45 +01:00
parent 0d77074a93
commit d334fbf399
No known key found for this signature in database
GPG Key ID: BA68F26108DC9F87
1 changed files with 8786 additions and 8782 deletions

View File

@ -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