From bb90e1f66d9beb490c4c99763e79519045968710 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Mon, 3 Jun 2024 11:44:28 +0300 Subject: [PATCH] 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. --- build-aux/license-check.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-aux/license-check.sh b/build-aux/license-check.sh index 85540727..dfedc681 100644 --- a/build-aux/license-check.sh +++ b/build-aux/license-check.sh @@ -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