Chromium Code Reviews| Index: third_party/devscripts/licensecheck.pl |
| =================================================================== |
| --- third_party/devscripts/licensecheck.pl (revision 242040) |
| +++ third_party/devscripts/licensecheck.pl (working copy) |
| @@ -492,8 +492,11 @@ |
| } 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"; |
| } |
| + if ($licensetext =~ /MIT .* License/){ |
| + $license = "MIT $license"; |
|
Paweł Hajdan Jr.
2013/12/20 08:51:09
Let's do elsif here, and output "MIT/X11 (BSD like
|
| + } |
| - 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"; |
| } |