Index: third_party/devscripts/licensecheck.pl |
diff --git a/third_party/devscripts/licensecheck.pl b/third_party/devscripts/licensecheck.pl |
index 1afbacdd6e98b16a4b57c873fd40d50691c8035f..9e12df16973f4a92ffa8e2d95cde7369383916d4 100755 |
--- a/third_party/devscripts/licensecheck.pl |
+++ b/third_party/devscripts/licensecheck.pl |
@@ -470,7 +470,9 @@ sub parselicense($) { |
$license = "Perl $license"; |
} |
- if ($licensetext =~ /under the Apache License, Version ([^ ]+)/) { |
+ if ($licensetext =~ /under the terms of the Apache ([^ ]+) License OR version 2 of the GNU/) { |
+ $license = "Apache (v$1) GPL (v2) $license"; |
+ } elsif ($licensetext =~ /under the Apache License, Version ([^ ]+)/) { |
$license = "Apache (v$1) $license"; |
} |