summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-13 21:19:44 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-13 21:19:44 +0000
commit20d1172c1a608cbfd0a03605ac5bc14e318b9a97 (patch)
tree0de9bbb2b69aabcf91528f76bc0d05a1a34da796 /third_party
parent3609650f5a6e17ea2e885b0fa86732d87eb5d24f (diff)
downloadchromium_src-20d1172c1a608cbfd0a03605ac5bc14e318b9a97.zip
chromium_src-20d1172c1a608cbfd0a03605ac5bc14e318b9a97.tar.gz
chromium_src-20d1172c1a608cbfd0a03605ac5bc14e318b9a97.tar.bz2
licensecheck: recognize MPL 2.0
TBR=wtc,thestig@chromium.org BUG=159669 Review URL: https://codereview.chromium.org/11360236 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167471 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rwxr-xr-xthird_party/devscripts/licensecheck.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/devscripts/licensecheck.pl b/third_party/devscripts/licensecheck.pl
index ab47b80..3be28de 100755
--- a/third_party/devscripts/licensecheck.pl
+++ b/third_party/devscripts/licensecheck.pl
@@ -481,8 +481,8 @@ sub parselicense($) {
$license = "BSD-like $license";
}
- if ($licensetext =~ /Mozilla Public License Version ([^ ]+)/) {
- $license = "MPL (v$1) $license";
+ if ($licensetext =~ /Mozilla Public License( Version|, v.) ([^ ]+[^. ])/) {
+ $license = "MPL (v$2) $license";
}
if ($licensetext =~ /Released under the terms of the Artistic License ([^ ]+)/) {