license-check.sh: Fix reporting of unclear license info

The main feature was broken because an old variable name hadn't
been updated to match the rest of the script.
This commit is contained in:
Lasse Collin 2024-06-03 11:44:28 +03:00
parent b8d134e61e
commit bb90e1f66d
1 changed files with 2 additions and 2 deletions

View File

@ -167,8 +167,8 @@ fi
# Look for files with an unknown license and set the exit status accordingly.
STATUS=0
if test -n "$UNTAGGED"; then
printf '# ERROR: Licensing is unclear:\n%s\n' "$UNTAGGED"
if test -n "$FILES"; then
printf '# ERROR: Licensing is unclear:\n%s\n' "$FILES"
STATUS=1
fi