From aa254ffd66995dbd69da19d68f4d978b934a4d16 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sat, 17 Apr 2021 12:16:38 +0200 Subject: [PATCH] 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. --- Meta/check-style.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Meta/check-style.sh b/Meta/check-style.sh index 22f6cdefa0..2b59bd86f0 100755 --- a/Meta/check-style.sh +++ b/Meta/check-style.sh @@ -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