diff options
author | Kim Carlbäcker <kim.carlbacker@gmail.com> | 2017-09-22 23:21:53 +0300 |
---|---|---|
committer | Kim Carlbäcker <kim.carlbacker@gmail.com> | 2017-09-22 23:21:53 +0300 |
commit | 8e901be7c79762ed3277aa37d505eeb348fbeee1 (patch) | |
tree | 19b7f84ea4cc50d7770b511fd497f3efdd040150 | |
parent | fd5da739b83000467a200614f7fbbca01989924c (diff) | |
parent | bcc11a606dac4b82e5dccb5b0f58ac63f6fe3199 (diff) |
Merge branch 'brew-install-go-issue' into 'master'
Unexport special GO* variables
See merge request gitlab-org/gitaly!371
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -16,6 +16,9 @@ VERSION_PREFIXED = $(shell git describe) VERSION = $(VERSION_PREFIXED:v%=%) GO_LDFLAGS = -ldflags '-X $(PKG)/internal/version.version=$(VERSION) -X $(PKG)/internal/version.buildtime=$(BUILDTIME)' +unexport GOROOT +unexport GOBIN + export GOPATH := $(TARGET_DIR) export PATH := $(GOPATH)/bin:$(PATH) |