Skip to content

Commit

Permalink
license-check.sh: Fix reporting of unclear license info
Browse files Browse the repository at this point in the history
The main feature was broken because an old variable name hadn't
been updated to match the rest of the script.
  • Loading branch information
Larhzu committed Jun 3, 2024
1 parent b8d134e commit bb90e1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-aux/license-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bb90e1f

Please sign in to comment.