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:
committed by
Alessio Treglia
parent
2581fffaa5
commit
c4f53facd9
@@ -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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user