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

Use go env to fetch GOPATH to support Go 1.8
This commit is contained in:
Tobias Schmidt 2017-03-23 03:00:55 +02:00 committed by GitHub
commit dd3a681b27

View file

@ -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
STATICCHECK ?= $(GOPATH)/bin/staticcheck