[SCM] Git repository for devscripts branch, jessie, updated. v2.12.4-31-g79bf1b3

Benjamin Drung bdrung at debian.org
Sat Oct 20 23:07:29 UTC 2012


The following commit has been merged in the jessie branch:
commit 7dd76ec4d622d3d605a7ddfcbcdf5a7c9cb7ab1b
Author: Dmitry Smirnov <onlyjob at member.fsf.org>
Date:   Wed Oct 10 18:12:29 2012 +1100

    bugfix: detect GPL license version
    
    Signed-off-by: Benjamin Drung <bdrung at debian.org>

diff --git a/scripts/licensecheck.pl b/scripts/licensecheck.pl
index 0b8126f..57e4234 100755
--- a/scripts/licensecheck.pl
+++ b/scripts/licensecheck.pl
@@ -429,7 +429,7 @@ sub parselicense {
     my $license = "";
 
     if ($licensetext =~ /version ([^, ]+?)[.,]? (?:\(?only\)?.? )?(?:of the GNU (Affero )?(Lesser |Library )?General Public License )?(as )?published by the Free Software Foundation/i or
-	$licensetext =~ /GNU (?:Affero )?(?:Lesser |Library )?General Public License (?:as )?published by the Free Software Foundation; version ([^, ]+?)[.,]? /i) {
+	$licensetext =~ /GNU (?:Affero )?(?:Lesser |Library )?General Public License (?:as )?published by the Free Software Foundation[;,] version ([^, ]+?)[.,]? /i) {
 
 	$gplver = " (v$1)";
     } elsif ($licensetext =~ /GNU (?:Affero )?(?:Lesser |Library )?General Public License, version (\d+(?:\.\d+)?)[ \.]/) {

-- 
Git repository for devscripts



More information about the devscripts-devel mailing list