[licensecheck] 13/26: Fix detect BSD licenses as bare name. Thanks for reporting to Vasudev Kamath, See Debian bug#840077.
Jonas Smedegaard
dr at jones.dk
Sun Feb 5 10:12:06 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository licensecheck.
commit 69beaec8f71304f07a41e0796c214b2e05b60b44
Author: Jonas Smedegaard <dr at jones.dk>
Date: Wed Nov 30 19:40:52 2016 +0100
Fix detect BSD licenses as bare name. Thanks for reporting to Vasudev Kamath, See Debian bug#840077.
---
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 f7afbfb..f13b1f5 100755
--- a/lib/App/Licensecheck.pm
+++ b/lib/App/Licensecheck.pm
@@ -641,7 +641,7 @@ sub parse_license
}
}
}
- elsif ( $licensetext =~ /licen[sc]ebsd(?:-(\d)-clause)?/i ) {
+ elsif ( $licensetext =~ /licen[sc]e:? ?bsd(?:-(\d)-clause)?/i ) {
$gen_license->("bsd_${1}_clause");
}
--
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