From ad244a272cc79cafb5f889d487c8d75eec4b0aed Mon Sep 17 00:00:00 2001 From: Xavier Date: Mon, 13 May 2019 09:36:41 +0100 Subject: [PATCH] Make the GOPATH work visible for sublime-text plug-ins --- scripts/go.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/go.sh b/scripts/go.sh index c3a27a4ae..0fafed829 100755 --- a/scripts/go.sh +++ b/scripts/go.sh @@ -17,6 +17,7 @@ do PATH=$PATH:$GOPATH/bin alias gobuild='CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w"' EOF + echo 'GOPATH=$HOME/go' >> $DIR/.profile # Fix rights USR=$(echo "$DIR" | rev | cut -d/ -f1 | rev)