The following commit has been merged in the master branch:
commit cb52dfd74635e4638e6471092f18d6e68a8d8398
Author: Paweł Hajdan, Jr <phajdan...@chromium.org>
Date:   Tue Sep 13 14:21:31 2011 -0700

    Recognize more types of generated files.
    
    This is a part of an effort to make Chromium project sources
    pass licensecheck: http://code.google.com/p/chromium/issues/detail?id=28291
    
    Signed-off-by: Paweł Hajdan, Jr <phajdan...@chromium.org>
    Signed-off-by: James Vega <james...@debian.org>

diff --git a/scripts/licensecheck.pl b/scripts/licensecheck.pl
index 8f9caf8..4c5a41c 100755
--- a/scripts/licensecheck.pl
+++ b/scripts/licensecheck.pl
@@ -406,7 +406,7 @@ sub parselicense($) {
        $extrainfo = " (with Qt exception)$extrainfo"
     }
 
-    if ($licensetext =~ /(All changes made in this file will be lost|DO NOT 
(EDIT|delete this file)|Generated by)/i) {
+    if ($licensetext =~ /(All changes made in this file will be lost|DO NOT 
(EDIT|delete this file)|Generated (automatically|by|from)|generated.*file)/i) {
        $license = "GENERATED FILE";
     }
 

-- 
Git repository for devscripts


-- 
To unsubscribe, send mail to pkg-devscripts-unsubscr...@teams.debian.net.

Reply via email to