mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-09 23:24:09 -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
7
Makefile
7
Makefile
|
@ -11,9 +11,10 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
GO ?= GO15VENDOREXPERIMENT=1 go
|
||||
PROMU ?= $(GOPATH)/bin/promu
|
||||
pkgs = $(shell $(GO) list ./... | grep -v /vendor/)
|
||||
GO ?= GO15VENDOREXPERIMENT=1 go
|
||||
GOPATH := $(firstword $(subst :, ,$(GOPATH)))
|
||||
PROMU ?= $(GOPATH)/bin/promu
|
||||
pkgs = $(shell $(GO) list ./... | grep -v /vendor/)
|
||||
|
||||
PREFIX ?= $(shell pwd)
|
||||
BIN_DIR ?= $(shell pwd)
|
||||
|
|
Loading…
Reference in a new issue