From cdb6c1c62ec1f7ba7dbad1f5034da9fdcee414a6 Mon Sep 17 00:00:00 2001 From: immanuwell Date: Mon, 25 May 2026 12:51:23 +0400 Subject: [PATCH] fix: use SYSTEM for shfmt Darwin detection --- tests.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests.mk b/tests.mk index 6178cae64..a5f54a96d 100644 --- a/tests.mk +++ b/tests.mk @@ -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}