diff --git a/Scripts/developer_scripts/licensecheck b/Scripts/developer_scripts/licensecheck index 34336242a07..9cb81dc594a 100755 --- a/Scripts/developer_scripts/licensecheck +++ b/Scripts/developer_scripts/licensecheck @@ -404,7 +404,7 @@ EOF sub version { print <<"EOF"; -This is $progname, from the Debian devscripts package, version +This is $progname, from the Debian devscripts package, version Copyright (C) 2007, 2008 by Adam D. Barratt ; based on a script of the same name from the KDE SDK by . @@ -615,6 +615,10 @@ sub parselicense { if ($licensetext =~ /SPDX-License-Identifier \( GPL-3.0-or-later OR LicenseRef-Commercial \) AND MIT/i) { $license = "GPL (v3 or later) AND MIT/X11 (BSD like)"; } + + if ($licensetext =~ /SPDX-License-Identifier MIT/i) { + $license = "MIT/X11 (BSD like)"; + } } $license = "UNKNOWN" if (!length($license));