R4R: Fix incorrect $GOBIN in Install Go. (#4113)

Fix empty path in `Install Go`.

This bug was fixed by #3975, and broken by #4089
This commit is contained in:
Frank Yang
2019-04-16 10:05:28 +01:00
committed by Alessio Treglia
parent 2581fffaa5
commit c4f53facd9
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -9,8 +9,8 @@ Install `go` by following the [official docs](https://golang.org/doc/install). R
```bash
mkdir -p $HOME/go/bin
echo "export GOPATH=$HOME/go" >> ~/.bash_profile
echo "export GOBIN=$GOPATH/bin" >> ~/.bash_profile
echo "export PATH=$PATH:$GOBIN" >> ~/.bash_profile
echo "export GOBIN=\$GOPATH/bin" >> ~/.bash_profile
echo "export PATH=\$PATH:\$GOBIN" >> ~/.bash_profile
source ~/.bash_profile
```