mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
fix build with multi-part $GOPATH
This commit is contained in:
parent
e1848445f4
commit
fd7775e251
3
Makefile
3
Makefile
|
@ -12,7 +12,8 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
GO := GO15VENDOREXPERIMENT=1 go
|
GO := GO15VENDOREXPERIMENT=1 go
|
||||||
PROMU := $(GOPATH)/bin/promu
|
FIRST_GOPATH := $(firstword $(subst :, ,$(GOPATH)))
|
||||||
|
PROMU := $(FIRST_GOPATH)/bin/promu
|
||||||
pkgs = $(shell $(GO) list ./... | grep -v /vendor/)
|
pkgs = $(shell $(GO) list ./... | grep -v /vendor/)
|
||||||
|
|
||||||
PREFIX ?= $(shell pwd)
|
PREFIX ?= $(shell pwd)
|
||||||
|
|
Loading…
Reference in a new issue