From 6cdb86fbc7177cffc463be84348e0ab4996ac4a4 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Sat, 1 Jan 2022 15:16:59 -0800 Subject: [PATCH] Tools: Be more clear that we're matching the BSD 1-Clause license. --- tools/checklicenses.py | 2 +- tools/licensecheck.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/checklicenses.py b/tools/checklicenses.py index f96e16821f..1c31edf062 100755 --- a/tools/checklicenses.py +++ b/tools/checklicenses.py @@ -32,7 +32,7 @@ Examples: ALLOWED_LICENSES = [ - 'BSD', + 'BSD (1 clause)', 'BSD (2 clause)', 'BSD (2 clause) GPL (v2 or later)', 'BSD (3 clause)', diff --git a/tools/licensecheck.pl b/tools/licensecheck.pl index 004a1ddb10..07781530d7 100755 --- a/tools/licensecheck.pl +++ b/tools/licensecheck.pl @@ -702,7 +702,7 @@ sub parselicense { } if ($licensetext =~ /SPDX-License-Identifier:\s+BSD-1-Clause/i) { - $license = 'BSD'; + $license = 'BSD (1 clause)'; } if ($licensetext =~ /SPDX-License-Identifier:\s+MIT/i) {