From d0ccabbbfcb869a9a311ab3414be666f51728d4c Mon Sep 17 00:00:00 2001 From: Pontus Leitzler Date: Thu, 27 Apr 2017 14:32:54 +0200 Subject: [PATCH] Go 1.8 do not require env GOPATH to be set and make will fail if it isn't set. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 10a6cbf..e48243c 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ # limitations under the License. GO := GO15VENDOREXPERIMENT=1 go -GOPATH := $(firstword $(subst :, ,$(GOPATH))) +GOPATH := $(firstword $(subst :, ,$(shell $(GO) env GOPATH))) PROMU ?= $(GOPATH)/bin/promu pkgs = $(shell $(GO) list ./... | grep -v /vendor/) -- 2.25.1