From ed23347a53618140c59f8102b9db5612fb100859 Mon Sep 17 00:00:00 2001 From: Tamas TEVESZ Date: Tue, 2 Dec 2025 20:38:20 +0100 Subject: [PATCH] Unconditionally initialize GREP_CMD Gives a fighting chance for platforms not explicitly looked for in the heuristics to actually just work. --- Common.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Common.mk b/Common.mk index fd775e77..c069ada4 100644 --- a/Common.mk +++ b/Common.mk @@ -46,20 +46,18 @@ $(call arduino_output,$(call ardmk_include) Configuration:) # # Detect OS +GREP_CMD = grep ifeq ($(OS),Windows_NT) CURRENT_OS = WINDOWS - GREP_CMD = grep else UNAME_S := $(shell uname -s) ifeq ($(UNAME_S),Linux) CURRENT_OS = LINUX - GREP_CMD = grep endif ifeq ($(UNAME_S),Darwin) CURRENT_OS = MAC ifeq (, $(shell which gggrep)) $(info Using macOS BSD grep, please install GNU grep to avoid warnings) - GREP_CMD = grep else GREP_CMD = ggrep endif