Skip to content

Commit

Permalink
add SPDX for MIT
Browse files Browse the repository at this point in the history
  • Loading branch information
sloriot committed Oct 19, 2019
1 parent e74473e commit 8474b7c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Scripts/developer_scripts/licensecheck
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,10 @@ sub parselicense {
if ($licensetext =~ /SPDX-License-Identifier LGPL-3.0-only/i) {
$license = "LGPL (v3)";
}

if ($licensetext =~ /SPDX-License-Identifier MIT/i) {
$license = "MIT/X11 (BSD like)";
}
}

$license = "UNKNOWN" if (!length($license));
Expand Down

0 comments on commit 8474b7c

Please sign in to comment.