Skip to content

Commit a31a70e

Browse files
authored
Fix validate_license script (#43)
1 parent a1cf116 commit a31a70e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/validate_license_headers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ EOF
111111
find . \
112112
\( \! -path './.build/*' \) -a \
113113
\( "${matching_files[@]}" \) -a \
114-
\( \! \( "${exceptions[@]}" \) \) \) | while read line; do
114+
\( \! \( "${exceptions[@]}" \) \) | while read line; do
115115
if [[ "$(cat "$line" | replace_acceptable_years | head -n $expected_lines | shasum)" != "$expected_sha" ]]; then
116116
printf "\033[0;31mmissing headers in file '$line'!\033[0m\n"
117117
diff -u <(cat "$line" | replace_acceptable_years | head -n $expected_lines) "$tmp"

0 commit comments

Comments
 (0)