[devscripts] 01/01: fix test_licensecheck_SL

dod at debian.org dod at debian.org
Mon Feb 1 19:14:57 UTC 2016


This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository devscripts.

commit c0688b6b590fb395f278ceca5824eb6fe0319798
Author: Dominique Dumont <dod at debian.org>
Date:   Mon Feb 1 20:13:57 2016 +0100

    fix test_licensecheck_SL
---
 scripts/licensecheck.pl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/scripts/licensecheck.pl b/scripts/licensecheck.pl
index 9e59ebf..161505a 100755
--- a/scripts/licensecheck.pl
+++ b/scripts/licensecheck.pl
@@ -643,9 +643,8 @@ sub parselicense {
     if ($licensetext =~ /(are made available|(is free software.? )?you can redistribute (it|them) and(?:\/|\s+)or modify (it|them)|is licensed) under the terms of (version [^ ]+ of )?the (GNU (Library |Lesser )General Public License|LGPL)/i) {
 	$license = "LGPL$gplver$extrainfo $license";
     }
-
     # For Perl modules handled by Dist::Zilla
-    if ($licensetext =~ /this is free software,? licensed under:? (?:the )?(?:GNU (?:Library |Lesser )General Public License|LGPL),? version ([\d\.]+)/i) {
+    elsif ($licensetext =~ /this is free software,? licensed under:? (?:the )?(?:GNU (?:Library |Lesser )General Public License|LGPL),? version ([\d\.]+)/i) {
 	$license = "LGPL (v$1) $license";
     }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list