From c4f53facd9ce87110b01aca59998a7ca64c0d6e7 Mon Sep 17 00:00:00 2001 From: Frank Yang Date: Tue, 16 Apr 2019 17:05:28 +0800 Subject: [PATCH] R4R: Fix incorrect `$GOBIN` in `Install Go`. (#4113) Fix empty path in `Install Go`. This bug was fixed by #3975, and broken by #4089 --- .pending/bugfixes/gaia/4113-Fix-incorrect-G | 1 + docs/cosmos-hub/installation.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .pending/bugfixes/gaia/4113-Fix-incorrect-G diff --git a/.pending/bugfixes/gaia/4113-Fix-incorrect-G b/.pending/bugfixes/gaia/4113-Fix-incorrect-G new file mode 100644 index 0000000000..2a5d1680b7 --- /dev/null +++ b/.pending/bugfixes/gaia/4113-Fix-incorrect-G @@ -0,0 +1 @@ +#4113 Fix incorrect `$GOBIN` in `Install Go` \ No newline at end of file diff --git a/docs/cosmos-hub/installation.md b/docs/cosmos-hub/installation.md index 48f0f71a74..20e5ffa44a 100644 --- a/docs/cosmos-hub/installation.md +++ b/docs/cosmos-hub/installation.md @@ -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 ```