Merge pull request #394 from discordianfish/fish-fix-makefile

Fix Makefile by using first element of GOPATH
This commit is contained in:
Johannes 'fish' Ziemke 2016-12-29 19:02:51 +01:00 committed by GitHub
commit a0b6f55aa9
1 changed files with 4 additions and 3 deletions

View File

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