mirror of
https://github.com/prometheus/node_exporter.git
synced 2025-03-05 21:00:12 -08:00
Merge pull request #394 from discordianfish/fish-fix-makefile
Fix Makefile by using first element of GOPATH
This commit is contained in:
commit
a0b6f55aa9
1
Makefile
1
Makefile
|
@ -12,6 +12,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
GO ?= GO15VENDOREXPERIMENT=1 go
|
GO ?= GO15VENDOREXPERIMENT=1 go
|
||||||
|
GOPATH := $(firstword $(subst :, ,$(GOPATH)))
|
||||||
PROMU ?= $(GOPATH)/bin/promu
|
PROMU ?= $(GOPATH)/bin/promu
|
||||||
pkgs = $(shell $(GO) list ./... | grep -v /vendor/)
|
pkgs = $(shell $(GO) list ./... | grep -v /vendor/)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue