home is coming off as root during deployment so fixing that

pull/3/head
alok 7 years ago
parent ed9e770c69
commit 20157fa1d1
  1. 2
      aws-scripts/setup_golang.sh

@ -6,7 +6,7 @@ sudo yum install -y golang
echo "export GOROOT=/usr/lib/golang" >> $HOME/.bash_profile echo "export GOROOT=/usr/lib/golang" >> $HOME/.bash_profile
# GOPATH is the location of your work directory # GOPATH is the location of your work directory
echo "export GOPATH=$HOME/projects" >> $HOME/.bash_profile echo "export GOPATH=/home/ec2-user/projects" >> $HOME/.bash_profile
# PATH in order to access go binary system wide # PATH in order to access go binary system wide
echo "export PATH=$PATH:$GOROOT/bin" >> $HOME/.bash_profile echo "export PATH=$PATH:$GOROOT/bin" >> $HOME/.bash_profile
Loading…
Cancel
Save