diff --git a/Makefile b/Makefile index c39393ff7..c91a69f96 100644 --- a/Makefile +++ b/Makefile @@ -449,7 +449,7 @@ init: tools update-generated $(BIN) vendor .PHONY: tools tools: update-vendor @echo ">> Fetching golangci-lint linter" - @go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.42.1 + @GOBIN=$(GOPATH)/bin go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.42.1 @echo ">> Fetching goimports" @GOBIN=$(GOPATH)/bin go install golang.org/x/tools/cmd/goimports@0bb7e5c47b1a31f85d4f173edc878a8e049764a5 @echo ">> Fetching license check"