File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,16 +13,16 @@ ifeq ($(shell uname),Darwin)
1313 @echo "Setting up shellcheck (macOS)..."
1414 brew install shellcheck
1515else ifeq ($(shell uname -s),Linux)
16- ifeq ($(shell uname -m) ,x86_64)
16+ # ifeq ($(shell uname -m),x86_64)
1717 @echo "Setting up shfmt for amd64 (Linux)..."
1818 SHFMT_BIN="shfmt_${SHFMT_VERSION}_linux_amd64"
19- else ifeq ($(shell uname -m),aarch64)
20- @echo "Setting up shfmt for arm64 (Linux)..."
21- SHFMT_BIN="shfmt_${SHFMT_VERSION}_linux_arm64"
22- else
23- @echo "Unsupported architecture $(shell uname -m)! Update this Makefile!"
24- exit 1
25- endif
19+ # else ifeq ($(shell uname -m),aarch64)
20+ # @echo "Setting up shfmt for arm64 (Linux)..."
21+ # SHFMT_BIN="shfmt_${SHFMT_VERSION}_linux_arm64"
22+ # else
23+ # @echo "Unsupported architecture $(shell uname -m)! Update this Makefile!"
24+ # exit 1
25+ # endif
2626 wget -qO shfmt "https://github.com/mvdan/sh/releases/download/${SHFMT_VERSION}/${SHFMT_BIN}"
2727 chmod +x shfmt
2828 sudo mv shfmt /usr/local/bin/shfmt
You can’t perform that action at this time.
0 commit comments