File tree 1 file changed +0
-19
lines changed
1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -227,25 +227,6 @@ TAR ?= tar
227
227
# Ensure we have an unambiguous GOPATH.
228
228
GOPATH := $(shell $(GO ) env GOPATH)
229
229
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
-
249
230
# We install our vendored tools to a directory within this repository to avoid
250
231
# overwriting any user-installed binaries of the same name in the default GOBIN.
251
232
GO_INSTALL := GOBIN='$(abspath bin) ' GOFLAGS= $(GO ) install
You can’t perform that action at this time.
0 commit comments