1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:27:35 +00:00

Meta: Use grep -E/F, not grep -P

grep -E and -F are POSIX standard, and meets all our matching needs.
This commit is contained in:
thislooksfun 2021-10-26 13:08:39 -05:00 committed by Andreas Kling
parent 4de7b3ad24
commit c2d44209a8
6 changed files with 10 additions and 10 deletions

View file

@ -9,7 +9,7 @@ MISSING_FILES=n
while IFS= read -r FILENAME; do
# Simply search whether the CMakeLists.txt *ever* mention the test files.
if ! grep -qP "${FILENAME}" Tests/AK/CMakeLists.txt ; then
if ! grep -qF "${FILENAME}" Tests/AK/CMakeLists.txt ; then
echo "Tests/AK/CMakeLists.txt is either missing the test file ${FILENAME} or is not in the commit's staged changes"
MISSING_FILES=y
fi