Skip to content

Commit 9e6b625

Browse files
discordianfishoblitorum
authored andcommitted
Makefile: Use only tar flags that work on bsd tar (prometheus#2128)
Signed-off-by: Johannes 'fish' Ziemke <[email protected]>
1 parent ac1a319 commit 9e6b625

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,4 @@ promtool: $(PROMTOOL)
144144

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

0 commit comments

Comments
 (0)