From f378693123f73bc18922b3ea7b78fd728fb65ff6 Mon Sep 17 00:00:00 2001 From: Mario Constanti Date: Thu, 4 Jul 2024 16:12:23 +0200 Subject: [PATCH] fix licence checker script Signed-off-by: Mario Constanti --- hack/verify-license.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/verify-license.sh b/hack/verify-license.sh index 848f78f..fe9cc61 100755 --- a/hack/verify-license.sh +++ b/hack/verify-license.sh @@ -18,7 +18,7 @@ array_contains() { HEADER="SPDX-License-Identifier: MIT" export IFS=$'\n' -while IFS='' read -r line; do all_error_files+=("$line"); done < <(git ls-files | grep -v -E '\.yaml$|\.json$|^(go.sum|License|demo/app/go.sum)$') +while IFS='' read -r line; do all_error_files+=("$line"); done < <(git ls-files | grep -v -E '\.yaml$|\.json$|^(go.sum|LICENSE|demo/app/go.sum)$') unset IFS errors=()