Edit gvm-installer to be compatible with zsh

This commit is contained in:
Antonio Murdaca
2014-08-03 22:53:03 +02:00
parent ac17654314
commit 7fc9e0ef22
3 changed files with 5 additions and 1 deletions
+2
View File
@@ -25,6 +25,8 @@ To install:
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
Or if you are using zsh just change `bash` with `zsh`
Installing Go
=============
gvm install go1
+2
View File
@@ -28,6 +28,8 @@ To install:
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
Or if you are using zsh just change `bash` with `zsh`
Installing Go
=============
gvm install go1
+1 -1
View File
@@ -19,7 +19,7 @@ update_profile() {
check_existing_go() {
if [ "$GOROOT" == "" ]; then
if [ "$GOROOT" = "" ]; then
if which go > /dev/null; then
GOROOT=$(go env | grep GOROOT | cut -d"=" -f2)
else