Skip to content

Commit

Permalink
fix: shellcheck wrong curl (#510)
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Fernandez <[email protected]>
  • Loading branch information
marioferh authored Jun 12, 2024
1 parent 409eb41 commit 250dcbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.tools
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ $(SHELLCHECK) shellcheck: $(TOOLS_DIR)
set -ex ;\
[[ -f $(SHELLCHECK) ]] && exit 0 ;\
cd $$(mktemp -d) ;\
OS=$(shell go env GOOS) && ARCH=$(shell go env GOARCH) && \
curl -sSLo shellcheck-stable.tar.xz "https://github.com/koalaman/shellcheck/releases/download/stable/shellcheck-stable.$$(OS).$$(ARCH).tar.xz";\
OS=$(shell go env GOOS) && ARCH=$(shell uname -m) && \
curl -sSLo shellcheck-stable.tar.xz https://github.com/koalaman/shellcheck/releases/download/stable/shellcheck-stable.$${OS}.$${ARCH}.tar.xz ;\
tar -xJf shellcheck-stable.tar.xz ;\
cp shellcheck-stable/shellcheck $(SHELLCHECK) ;\
version=$(SHELLCHECK_VERSION) ;\
Expand Down

0 comments on commit 250dcbc

Please sign in to comment.