File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -227,25 +227,6 @@ TAR ?= tar
227227# Ensure we have an unambiguous GOPATH.
228228GOPATH := $(shell $(GO ) env GOPATH)
229229
230- ifneq "$(or $(findstring :,$(GOPATH ) ),$(findstring ;,$(GOPATH ) ) )" ""
231- $(error GOPATHs with multiple entries are not supported)
232- endif
233-
234- GOPATH := $(realpath $(GOPATH ) )
235- ifeq "$(strip $(GOPATH ) ) " ""
236- $(error GOPATH is not set and could not be automatically determined)
237- endif
238-
239- ifeq "$(filter $(GOPATH ) % ,$(CURDIR ) ) " ""
240- $(error Current directory "$(CURDIR)" is not within GOPATH "$(GOPATH)")
241- endif
242-
243- ifeq "$(GOPATH ) " "/"
244- $(error GOPATH=/ is not supported)
245- endif
246-
247- $(info GOPATH set to $(GOPATH))
248-
249230# We install our vendored tools to a directory within this repository to avoid
250231# overwriting any user-installed binaries of the same name in the default GOBIN.
251232GO_INSTALL := GOBIN='$(abspath bin) ' GOFLAGS= $(GO ) install
You can’t perform that action at this time.
0 commit comments