handle MIT
This commit is contained in:
@@ -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 <adam\@adam-barratt.org.uk>; based
|
||||
on a script of the same name from the KDE SDK by <dfaure\@kde.org>.
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user