From 9eec59b1faaa77b3be193084485fc7de65eb2aa0 Mon Sep 17 00:00:00 2001 From: Chris McGee Date: Wed, 14 May 2025 14:32:42 -0400 Subject: [PATCH] Fix read error --- .github/workflows/scripts/check-license-header.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripts/check-license-header.sh b/.github/workflows/scripts/check-license-header.sh index 49f9e2f9..de9f55f8 100755 --- a/.github/workflows/scripts/check-license-header.sh +++ b/.github/workflows/scripts/check-license-header.sh @@ -46,7 +46,7 @@ dynamic_exclude_list=( ) if [[ -f .licenseignore ]]; then static_exclude_list+=( '":(exclude).licenseignore"' ) - IFS=$'\n' read -d '' -r -a dynamic_exclude_list <<< "$(sed -E 's/^(.*)$/":(exclude)\1"/' <.licenseignore)" + IFS=$'\n' read -r -a dynamic_exclude_list <<< "$(sed -E 's/^(.*)$/":(exclude)\1"/' <.licenseignore)" fi exclude_list=( "${static_exclude_list[@]}" "${dynamic_exclude_list[@]}" )