| Index: third_party/devscripts/licensecheck.pl.vanilla
|
| ===================================================================
|
| --- third_party/devscripts/licensecheck.pl.vanilla (revision 136854)
|
| +++ third_party/devscripts/licensecheck.pl.vanilla (working copy)
|
| @@ -392,9 +392,9 @@
|
| $licensetext =~ /GNU (?:Affero )?General Public License as published by the Free Software Foundation; version ([^ ]+) /i) {
|
|
|
| $gplver = " (v$1)";
|
| - } elsif ($licensetext =~ /GNU (Affero ?)General Public License, version ([^ ]+?)[ .]/) {
|
| + } elsif ($licensetext =~ /GNU (?:Affero ?)General Public License, version ([^ ]+?)[ .]/) {
|
| $gplver = " (v$1)";
|
| - } elsif ($licensetext =~ /either version ([^ ]+) of the License, or \(at your option\) any later version/) {
|
| + } elsif ($licensetext =~ /either version ([^ ]+)(?: of the License)?, or \(at your option\) any later version/) {
|
| $gplver = " (v$1 or later)";
|
| }
|
|
|
|
|