diff options
author | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-08 12:21:07 +0000 |
---|---|---|
committer | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-08 12:21:07 +0000 |
commit | d26d8769e1c60a9561d3a4e802e8b9a8ef8ae965 (patch) | |
tree | 6c1cba7c9a89f40edc92cd9aa4fed575c265f5ea /third_party/devscripts | |
parent | 24d6352c4c623ff9c6383897c42d1ed0780c08df (diff) | |
download | chromium_src-d26d8769e1c60a9561d3a4e802e8b9a8ef8ae965.zip chromium_src-d26d8769e1c60a9561d3a4e802e8b9a8ef8ae965.tar.gz chromium_src-d26d8769e1c60a9561d3a4e802e8b9a8ef8ae965.tar.bz2 |
Make licensecheck.pl case-inssentive for ISC licence.
When rolling "pexpect" library, its license headers are in uppercase.
Make licensecheck.pl search for them in a case-insensitive manner.
BUG=156113
TEST=
Review URL: https://chromiumcodereview.appspot.com/11365130
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166664 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/devscripts')
-rwxr-xr-x | third_party/devscripts/licensecheck.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/devscripts/licensecheck.pl b/third_party/devscripts/licensecheck.pl index 6858362..ab47b80 100755 --- a/third_party/devscripts/licensecheck.pl +++ b/third_party/devscripts/licensecheck.pl @@ -458,7 +458,7 @@ sub parselicense($) { $license = "University of Illinois/NCSA Open Source License (BSD like) $license"; } - if ($licensetext =~ /Permission to use, copy, modify, and(\/or)? distribute this software (and its documentation )?for any purpose (with or )?without fee is hereby granted, provided.*(copyright|entire) notice.*all copies/) { + if ($licensetext =~ /Permission to use, copy, modify, and(\/or)? distribute this software (and its documentation )?for any purpose (with or )?without fee is hereby granted, provided.*(copyright|entire) notice.*all copies/i) { $license = "ISC $license"; } |