From 8bfbb4e733c358d6dbd28eaba3f0b36a022f7131 Mon Sep 17 00:00:00 2001 From: Ben Kochie Date: Mon, 13 Nov 2017 11:13:14 +0100 Subject: [PATCH] Simplify Makefile promu fetch Closes: https://github.com/prometheus/prometheus/issues/3460 --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 570ab33cc..d3c95034e 100644 --- a/Makefile +++ b/Makefile @@ -87,10 +87,7 @@ assets: promu: @echo ">> fetching promu" - @GOOS=$(shell uname -s | tr A-Z a-z) \ - GOARCH=$(subst x86_64,amd64,$(patsubst i%86,386,$(shell uname -m))) \ - GO="$(GO)" \ - $(GO) get -u github.com/prometheus/promu + @GOOS= GOARCH= $(GO) get -u github.com/prometheus/promu $(FIRST_GOPATH)/bin/staticcheck: @GOOS= GOARCH= $(GO) get -u honnef.co/go/tools/cmd/staticcheck