fix: use SYSTEM for shfmt Darwin detection

This commit is contained in:
immanuwell committed 2026-05-25 12:51:23 +04:00
1 parent 82fa8de766
commit cdb6c1c62e
1 file changed
+1 -1
+1 -1
View File
@@ -25,7 +25,7 @@ endif
shfmt:
ifneq ($(shell shfmt --version >/dev/null 2>&1; echo $$?),0)
ifeq ($(shfmt),Darwin)
ifeq ($(SYSTEM),Darwin)
brew install shfmt
else
wget -qO /tmp/shfmt https://github.com/mvdan/sh/releases/download/v3.5.1/shfmt_v3.5.1_linux_${TARGETARCH}