Skip to content

Commit 6651e03

Browse files
committed
clean
1 parent 5f9f472 commit 6651e03

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,14 @@ ifeq ($(shell uname),Darwin)
1515
else ifeq ($(shell uname -s),Linux)
1616
ifeq ($(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"
1919
else 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"
2222
else
2323
@echo "Unsupported architecture $(shell uname -m)! Update this Makefile!"
2424
exit 1
2525
endif
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)..."

0 commit comments

Comments
 (0)