Meta: Update check-style.sh to ignore CVS $id$ tags

Userlands/Libraries/LibC/sys/exec_elf.h has an $id$ tag
which fails this lint check.
This commit is contained in:
Gunnar Beutner 2021-04-17 12:16:38 +02:00 committed by Andreas Kling
commit aa254ffd66
Notes: sideshowbarker 2024-07-18 19:28:39 +09:00

View file

@ -6,7 +6,7 @@ cd "$script_path/.." || exit 1
# We simply check if the file starts with: # We simply check if the file starts with:
# /* # /*
# * Copyright # * Copyright
LICENSE_HEADER_PATTERN=$'^/\*\n \* Copyright' LICENSE_HEADER_PATTERN=$'^([^\n]*\n)?/\*\n \* Copyright'
MISSING_LICENSE_HEADER_ERRORS=() MISSING_LICENSE_HEADER_ERRORS=()
# We check that "#pragma once" is present # We check that "#pragma once" is present