From b03ad3402f556296bfddbbe3fb5ae0db6a886dce Mon Sep 17 00:00:00 2001 From: Jan Hrach Date: Wed, 5 Oct 2022 01:53:05 +0200 Subject: [PATCH] Fix: 'grep: warning: stray \ before #' in GNU grep >= 3.8 --- Common.mk | 2 +- HISTORY.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Common.mk b/Common.mk index fd775e7..1e3ce24 100644 --- a/Common.mk +++ b/Common.mk @@ -8,7 +8,7 @@ dir_if_exists = $(if $(wildcard $(1)$(2)),$(1)) # result = $(call READ_BOARD_TXT, 'boardname', 'parameter') PARSE_BOARD = $(shell if [ -f $(BOARDS_TXT) ]; \ then \ - $(GREP_CMD) -Ev '^\#' $(BOARDS_TXT) | \ + $(GREP_CMD) -Ev '^#' $(BOARDS_TXT) | \ $(GREP_CMD) -E "^[ \t]*$(1).$(2)=" | \ cut -d = -f 2- | \ cut -d : -f 2; \ diff --git a/HISTORY.md b/HISTORY.md index 5f538a0..e7fc024 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -14,6 +14,7 @@ I tried to give credit whenever possible. If I have missed anyone, kindly add it - Fix: Show the configuration when ARDUINO_QUIET=0 - Fix: Travis build and bring Arduino IDE upto date - Fix: Builds for SAMD-based boards use the C++ compiler for linking (issue #644). (https://github.com/kpfleming) +- Fix: 'grep: warning: stray \ before #' in GNU grep >= 3.8 - Tweak: Move chip erase flag from set_fuses to ispload to prevent sketch being nuked when setting fuses - Tweak: Set ARDMK_VERSION to 1.6 (https://github.com/sej7278) - Tweak: Move non-standard-related items from CxxFLAGS_STD to CxxFLAGS (issue #523) (https://github.com/sej7278)