Merge pull request #2515 from leitzler/leitzler-patch-1

Use go env to fetch GOPATH to support Go 1.8
This commit is contained in:
Björn Rabenstein 2017-03-23 11:58:30 +01:00 committed by GitHub
commit ddcf04a768

View file

@ -12,7 +12,7 @@
# limitations under the License. # limitations under the License.
GO := GO15VENDOREXPERIMENT=1 go GO := GO15VENDOREXPERIMENT=1 go
FIRST_GOPATH := $(firstword $(subst :, ,$(GOPATH))) FIRST_GOPATH := $(firstword $(subst :, ,$(shell $(GO) env GOPATH)))
PROMU := $(FIRST_GOPATH)/bin/promu PROMU := $(FIRST_GOPATH)/bin/promu
pkgs = $(shell $(GO) list ./... | grep -v /vendor/) pkgs = $(shell $(GO) list ./... | grep -v /vendor/)