[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FP fix



Raphael Geissert wrote:

> Hi again,
> 
> This one fixes a false positive
> copyright-should-refer-to-common-license-file-for-gpl in xeji.

And another FP fix.

> 
> Cheers,

-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
diff --git a/checks/copyright-file b/checks/copyright-file
index 4b6f95b..05bdae6 100644
--- a/checks/copyright-file
+++ b/checks/copyright-file
@@ -242,6 +242,8 @@ if (m,/usr/share/common-licenses,
     || m/CeCILL FREE SOFTWARE LICENSE AGREEMENT/
     || m/CNRI OPEN SOURCE GPL-COMPATIBLE LICENSE AGREEMENT/
     || m/GNU GENERAL PUBLIC LICENSE\s+Version 1/
+    || m/compatible\s+with\s+(the\s+)?(GNU\s+)?GPL/
+    || m/(GNU\s+)?GPL\W+compatible/
     || $wrong_directory_detected) {
     # False positive or correct reference.  Ignore.
 } elsif (m/GNU Free Documentation License/i or m/\bGFDL\b/) {


Reply to: