From 05a7f6dff9f970e2a17dc1c722b91a383fadb2c9 Mon Sep 17 00:00:00 2001 From: Si Beaumont Date: Mon, 15 Jul 2024 11:41:43 +0100 Subject: [PATCH] Update licence check for 2024 :O --- scripts/check-license-headers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check-license-headers.sh b/scripts/check-license-headers.sh index fdb2a031..2061f591 100644 --- a/scripts/check-license-headers.sh +++ b/scripts/check-license-headers.sh @@ -95,7 +95,7 @@ for FILE_PATH in "${PATHS_TO_CHECK_FOR_LICENSE[@]}"; do FILE_HEADER=$(head -n "${EXPECTED_FILE_HEADER_LINECOUNT}" "${FILE_PATH}") NORMALIZED_FILE_HEADER=$( echo "${FILE_HEADER}" \ - | sed -e 's/202[3]-202[3]/YEARS/' -e 's/202[3]/YEARS/' \ + | sed -e 's/202[3]-202[3,4]/YEARS/' -e 's/202[3,4]/YEARS/' \ ) if ! diff -u \