Makefile: Use only tar flags that work on bsd tar (#2128)

Signed-off-by: Johannes 'fish' Ziemke <github@freigeist.org>
This commit is contained in:
Johannes 'fish' Ziemke 2021-09-14 16:46:44 +02:00 committed by GitHub
parent dc68e035a5
commit d6d4c6e1ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,4 +139,4 @@ promtool: $(PROMTOOL)
$(PROMTOOL):
mkdir -p $(FIRST_GOPATH)/bin
curl -fsS -L $(PROMTOOL_URL) | tar -xvzf - -C $(FIRST_GOPATH)/bin --no-anchored --strip 1 promtool
curl -fsS -L $(PROMTOOL_URL) | tar -xvzf - -C $(FIRST_GOPATH)/bin --strip 1 "prometheus-$(PROMTOOL_VERSION).$(GO_BUILD_PLATFORM)/promtool"