Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Carlbäcker <kim.carlbacker@gmail.com>2017-09-22 23:21:53 +0300
committerKim Carlbäcker <kim.carlbacker@gmail.com>2017-09-22 23:21:53 +0300
commit8e901be7c79762ed3277aa37d505eeb348fbeee1 (patch)
tree19b7f84ea4cc50d7770b511fd497f3efdd040150
parentfd5da739b83000467a200614f7fbbca01989924c (diff)
parentbcc11a606dac4b82e5dccb5b0f58ac63f6fe3199 (diff)
Merge branch 'brew-install-go-issue' into 'master'
Unexport special GO* variables See merge request gitlab-org/gitaly!371
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9e672ba5d..1db1300b3 100644
--- a/Makefile
+++ b/Makefile
@@ -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)