Always quote $@

This commit is contained in:
Benjamin Lee 2020-11-27 12:48:08 +11:00 committed by Márk Sági-Kazár
parent 493643fd5e
commit 6ddd35486b
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ bin/golangci-lint: bin/golangci-lint-${GOLANGCI_VERSION}
bin/golangci-lint-${GOLANGCI_VERSION}: bin/golangci-lint-${GOLANGCI_VERSION}:
@mkdir -p bin @mkdir -p bin
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b ./bin/ v${GOLANGCI_VERSION} curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b ./bin/ v${GOLANGCI_VERSION}
@mv bin/golangci-lint $@ @mv bin/golangci-lint "$@"
.PHONY: lint .PHONY: lint
lint: bin/golangci-lint ## Run linter lint: bin/golangci-lint ## Run linter