From eca5d3571583d3eec2b2c74db3afc966f394ef8b Mon Sep 17 00:00:00 2001 From: Crazykev Date: Sat, 12 Aug 2017 23:18:21 +0800 Subject: [PATCH] fix gopath Signed-off-by: Crazykev --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 468aed5..3b40229 100755 --- a/setup.sh +++ b/setup.sh @@ -81,7 +81,7 @@ EOF } vim::common::setup(){ - GOPATH=${GOPATH:-$HOME/go-project} + export GOPATH=${GOPATH:-$HOME/go-project} mkdir -p ${GOPATH} sudo easy_install -ZU autopep8 if [ ! -e /usr/local/bin/ctags ]; then