diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-13 21:19:44 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-13 21:19:44 +0000 |
commit | 20d1172c1a608cbfd0a03605ac5bc14e318b9a97 (patch) | |
tree | 0de9bbb2b69aabcf91528f76bc0d05a1a34da796 /third_party | |
parent | 3609650f5a6e17ea2e885b0fa86732d87eb5d24f (diff) | |
download | chromium_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-x | third_party/devscripts/licensecheck.pl | 4 |
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 ([^ ]+)/) { |