From 86e65429c083ba3bb836f262e5880c9073fa6830 Mon Sep 17 00:00:00 2001 From: PrometheusBot Date: Fri, 14 Jun 2019 10:30:25 +0100 Subject: [PATCH] makefile: update Makefile.common with newer version (#488) Signed-off-by: prombot --- Makefile.common | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.common b/Makefile.common index 6b94f83..d7aea1b 100644 --- a/Makefile.common +++ b/Makefile.common @@ -248,7 +248,9 @@ proto: ifdef GOLANGCI_LINT $(GOLANGCI_LINT): mkdir -p $(FIRST_GOPATH)/bin - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(FIRST_GOPATH)/bin $(GOLANGCI_LINT_VERSION) + curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/$(GOLANGCI_LINT_VERSION)/install.sh \ + | sed -e '/install -d/d' \ + | sh -s -- -b $(FIRST_GOPATH)/bin $(GOLANGCI_LINT_VERSION) endif ifdef GOVENDOR -- 2.25.1