X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Flicense-check.sh;h=5b43072382b44706f0f6d4b4cf1ef351801547e2;hb=b9eb4581940562effcf67863704a3ec2c47ceca0;hp=8466cf9941ae123e5de4687a175a3908dd9babbb;hpb=41c32874d920b94e23fc36c1432a5950ee34cd82;p=releng%2Fglobal-jjb.git diff --git a/shell/license-check.sh b/shell/license-check.sh index 8466cf99..5b430723 100644 --- a/shell/license-check.sh +++ b/shell/license-check.sh @@ -56,7 +56,7 @@ fi set -f # Disable globbing for $file_patterns to pass '*' # Purposely disable SC2068 for $file_patterns # shellcheck disable=SC2068 -lhc --license "$licenses_allowed" ${disable_spdx} \ +lhc --license "$licenses_allowed" "${disable_spdx}" \ --exclude "$license_exclude_paths" \ ${file_patterns[@]} set +f