diff --git a/.setenv.sh b/.setenv.sh index ae40429d..30b116b4 100644 --- a/.setenv.sh +++ b/.setenv.sh @@ -1,5 +1,5 @@ -export GOPATH=~/go +export GOPATH=`realpath "$HOME/go"` PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting export PATH=$HOME/tools:$PATH export PATH=$GOPATH/bin:$PATH diff --git a/common/configure_fresh_system.sh b/common/configure_fresh_system.sh index 3c669f49..88673358 100755 --- a/common/configure_fresh_system.sh +++ b/common/configure_fresh_system.sh @@ -181,7 +181,8 @@ if [[ -z $NOVIM ]]; then fi if [[ -z $NO_GO ]]; then - export GOPATH="$HOME/go" + GOPATH="$HOME/go" + export GOPATH=`realpath "$GOPATH"` mkdir -p "$GOPATH" # excercism