summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xthird_party/devscripts/licensecheck.pl4
-rwxr-xr-xtools/checklicenses/checklicenses.py2
2 files changed, 5 insertions, 1 deletions
diff --git a/third_party/devscripts/licensecheck.pl b/third_party/devscripts/licensecheck.pl
index f7be5c5..f4260dd 100755
--- a/third_party/devscripts/licensecheck.pl
+++ b/third_party/devscripts/licensecheck.pl
@@ -491,9 +491,11 @@ sub parselicense($) {
$license = "MIT/X11 (BSD like) $license";
} elsif ($licensetext =~ /Permission is hereby granted, without written agreement and without license or royalty fees, to use, copy, modify, and distribute this software and its documentation for any purpose/) {
$license = "MIT/X11 (BSD like) $license";
+ } elsif ($licensetext =~ /MIT .* License/) {
+ $license = "MIT/X11 (BSD like) $license";
}
- if ($licensetext =~ /This file is distributed under the University of Illinois Open Source License/){
+ if ($licensetext =~ /the University of Illinois Open Source License/){
$license = "University of Illinois/NCSA Open Source License (BSD like) $license";
}
diff --git a/tools/checklicenses/checklicenses.py b/tools/checklicenses/checklicenses.py
index b1cc0a7..420e237 100755
--- a/tools/checklicenses/checklicenses.py
+++ b/tools/checklicenses/checklicenses.py
@@ -91,6 +91,8 @@ WHITELISTED_LICENSES = [
'zlib/libpng',
'SGI Free Software License B',
'University of Illinois/NCSA Open Source License (BSD like)',
+ ('University of Illinois/NCSA Open Source License (BSD like) '
+ 'MIT/X11 (BSD like)'),
]