From 20157fa1d19bdab3aed133e9f4b1826410c452d1 Mon Sep 17 00:00:00 2001 From: alok Date: Tue, 12 Jun 2018 22:57:55 -0700 Subject: [PATCH] home is coming off as root during deployment so fixing that --- aws-scripts/setup_golang.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws-scripts/setup_golang.sh b/aws-scripts/setup_golang.sh index 03a559ccc..22dcd2bc2 100755 --- a/aws-scripts/setup_golang.sh +++ b/aws-scripts/setup_golang.sh @@ -6,7 +6,7 @@ sudo yum install -y golang echo "export GOROOT=/usr/lib/golang" >> $HOME/.bash_profile # 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 echo "export PATH=$PATH:$GOROOT/bin" >> $HOME/.bash_profile \ No newline at end of file