1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:37:45 +00:00

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
parent 407b066ba4
commit aa254ffd66

View file

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