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