Index: third_party/devscripts/licensecheck.pl |
diff --git a/third_party/devscripts/licensecheck.pl b/third_party/devscripts/licensecheck.pl |
index f2a0bbd3a7227c331f414cba4b4286f2e803f980..40057ccba587e33fd925ba62dc3b8beb00f0b296 100755 |
--- a/third_party/devscripts/licensecheck.pl |
+++ b/third_party/devscripts/licensecheck.pl |
@@ -428,7 +428,7 @@ sub parselicense($) { |
if ($licensetext =~ /opensource\.org\/licenses\/mit-license\.php/) { |
$license = "MIT/X11 (BSD like) $license"; |
- } elsif ($licensetext =~ /Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files \(the Software\), to deal in the Software/) { |
+ } elsif ($licensetext =~ /Permission is hereby granted, free of charge, to any person obtaining a copy of this software and(\/or)? associated documentation files \(the (Software|Materials)\), to deal in the (Software|Materials)/) { |
$license = "MIT/X11 (BSD like) $license"; |
} |
@@ -488,7 +488,7 @@ sub parselicense($) { |
$license = "CeCILL-$1 $license"; |
} |
- if ($licensetext =~ /under the SGI Free Software License B/) { |
+ if ($licensetext =~ /under the SGI Free Software (B License|License B)/) { |
$license = "SGI Free Software License B $license"; |
} |