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:
parent
2581fffaa5
commit
c4f53facd9
|
@ -0,0 +1 @@
|
|||
#4113 Fix incorrect `$GOBIN` in `Install Go`
|
|
@ -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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue