Commit 408d454f59a370c015e8173bd5ff486f2639ac6b

Commits
[COMMIT BEGIN]
commit 408d454f59a370c015e8173bd5ff486f2639ac6b
Author: 0x4248 <[email protected]>
Date:   Mon Dec 15 11:46:13 2025 +0000

    [PATCH 436643a] makefile: Fix macos precheck eror
    
    Fixes the makefile error when running the MacOS precheck.
    
    Logs before the fix:
        make: *** [Makefile:27: precheck] Error 1
    
    Fixes: 436643af30ba6a867fa537c819c68191bc192498
    Reported-by: 0x4248 <[email protected]>
    Tested-by: Private internal testers <users@intranet>
    Signed-off-by: 0x4248 <[email protected]>

diff --git a/Makefile b/Makefile
index 81b248c..e4b4d29 100644
--- a/Makefile
+++ b/Makefile
@@ -20,12 +20,13 @@ all: precheck help
 NOCONFIG_TARGETS := menuconfig defconfig
 
 precheck:
-	@if [ "$$(uname -s)" = "Darwin" ]; then \
-	    if [ "$(CONFIG_MAKE_IGNORE_WARNING_DARWIN)" != "y" ]; then \
-	        echo "WARNING: You are using Darwin (MacOS) which is not usually supported by Nexus"; \
-	        echo "Set CONFIG_MAKE_IGNORE_WARNING_DARWIN=y to suppress this warning"; \
-	    fi; \
-	fi
+	@{ \
+		if [ "$$(uname -s)" = "Darwin" ] && \
+		   [ "$(CONFIG_MAKE_IGNORE_WARNING_DARWIN)" != "y" ]; then \
+			echo "WARNING: You are using Darwin (MacOS) which is not usually supported by Nexus"; \
+			echo "Set CONFIG_MAKE_IGNORE_WARNING_DARWIN=y to suppress this warning"; \
+		fi; \
+	} || true
 
 	$(T)$(LOG) -e "PRECHECK\tGLOBPATH"
 	$(T)pwd > .nexopath
[COMMIT END]
(C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.