Skip to content

Commit ed2009c

Browse files
authored
Merge pull request #258 from prometheus/makefile_common
Synchronize Makefile.common from prometheus/prometheus
2 parents 9a5a63c + 861c5f9 commit ed2009c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile.common

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,9 @@ proto:
248248
ifdef GOLANGCI_LINT
249249
$(GOLANGCI_LINT):
250250
mkdir -p $(FIRST_GOPATH)/bin
251-
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(FIRST_GOPATH)/bin $(GOLANGCI_LINT_VERSION)
251+
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/$(GOLANGCI_LINT_VERSION)/install.sh \
252+
| sed -e '/install -d/d' \
253+
| sh -s -- -b $(FIRST_GOPATH)/bin $(GOLANGCI_LINT_VERSION)
252254
endif
253255

254256
ifdef GOVENDOR

0 commit comments

Comments
 (0)