File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,15 +15,14 @@ ifeq ($(shell uname),Darwin)
1515else ifeq ($(shell uname -s),Linux)
1616ifeq ($(shell uname -m) ,x86_64)
1717 @echo "Setting up shfmt for amd64 (Linux)..."
18- SHFMT_BIN= shfmt_${SHFMT_VERSION}_linux_amd64
18+ wget -qO shfmt "https://github.com/mvdan/sh/releases/download/${SHFMT_VERSION}/ shfmt_${SHFMT_VERSION}_linux_amd64"
1919else ifeq ($(shell uname -m),aarch64)
2020 @echo "Setting up shfmt for arm64 (Linux)..."
21- SHFMT_BIN= shfmt_${SHFMT_VERSION}_linux_arm64
21+ wget -qO shfmt "https://github.com/mvdan/sh/releases/download/${SHFMT_VERSION}/ shfmt_${SHFMT_VERSION}_linux_arm64"
2222else
2323 @echo "Unsupported architecture $(shell uname -m)! Update this Makefile!"
2424 exit 1
2525endif
26- wget -qO shfmt "https://github.com/mvdan/sh/releases/download/${SHFMT_VERSION}/${SHFMT_BIN}"
2726 chmod +x shfmt
2827 sudo mv shfmt /usr/local/bin/shfmt
2928 @echo "Setting up shellcheck (Linux)..."
You can’t perform that action at this time.
0 commit comments