Skip to content

Commit

Permalink
Added $GOPATH to installer.sh.
Browse files Browse the repository at this point in the history
  • Loading branch information
bellma101 committed Mar 29, 2019
1 parent cfded76 commit 62dfde4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ function install_go() {
wget https://dl.google.com/go/go1.12.linux-amd64.tar.gz;
sudo tar -C /usr/local -xzf go1.12.linux-amd64.tar.gz;
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin:" >> "$HOME"/.profile;
echo "export GOPATH=$HOME/go" >> "$HOME"/.profile;
source "$HOME"/.profile;
rm -rf go1.12.linux-amd64.tar.gz;
}
Expand Down

0 comments on commit 62dfde4

Please sign in to comment.