From 39011c055a7666cb62b0eddc04a3e7ce0d197068 Mon Sep 17 00:00:00 2001 From: David Cermak Date: Thu, 19 Mar 2020 11:47:37 +0100 Subject: [PATCH] ci: fix rom header checker to validate *rom* on word boundaries --- tools/ci/check_examples_rom_header.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci/check_examples_rom_header.sh b/tools/ci/check_examples_rom_header.sh index 131723e0db..cf2cad9229 100755 --- a/tools/ci/check_examples_rom_header.sh +++ b/tools/ci/check_examples_rom_header.sh @@ -3,7 +3,7 @@ # Examples shouldn't include rom headers directly output=$(find ${IDF_PATH}/examples -name "*.[chS]" -o -name "*.cpp" -not -path "**/build/**") -files=$(grep ".*include.*rom.*h" ${output} | cut -d ":" -f 1) +files=$(egrep ".*include.*\.*h" ${output} | cut -d ":" -f 1) found_rom=0 for file in ${files} do