mirror of https://git.tukaani.org/xz.git
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:
parent
b8d134e61e
commit
bb90e1f66d
|
@ -167,8 +167,8 @@ fi
|
||||||
|
|
||||||
# Look for files with an unknown license and set the exit status accordingly.
|
# Look for files with an unknown license and set the exit status accordingly.
|
||||||
STATUS=0
|
STATUS=0
|
||||||
if test -n "$UNTAGGED"; then
|
if test -n "$FILES"; then
|
||||||
printf '# ERROR: Licensing is unclear:\n%s\n' "$UNTAGGED"
|
printf '# ERROR: Licensing is unclear:\n%s\n' "$FILES"
|
||||||
STATUS=1
|
STATUS=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue