[licensecheck] 36/112: Relax license pattern cc_by_ca.

Jonas Smedegaard dr at jones.dk
Fri Nov 25 22:01:47 UTC 2016


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

js pushed a commit to branch master
in repository licensecheck.

commit d6cfa3d7a35f95edd6e13e108755533d396f46c5
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Fri Oct 14 15:44:57 2016 +0200

    Relax license pattern cc_by_ca.
---
 lib/App/Licensecheck.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/App/Licensecheck.pm b/lib/App/Licensecheck.pm
index 176b3ed..75807bc 100755
--- a/lib/App/Licensecheck.pm
+++ b/lib/App/Licensecheck.pm
@@ -557,7 +557,7 @@ sub parse_license
 
 	# CC
 	given ($licensetext) {
-		when ( /$L{re}{cc_by_sa}(?i: version)? ($ver_re) or ($ver_re)/ ) {
+		when ( /$L{re}{cc_by_sa}(?i: version)? ($ver_re) or ($ver_re)/i ) {
 			$license = "CC BY-SA (v$1 or v$2) $license";
 			push @spdx_license, "CC-BY-SA-$1 or CC-BY-SA-$1";
 		}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/licensecheck.git



More information about the Pkg-perl-cvs-commits mailing list