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

[SCM] Debian package checker branch, master, updated. 2.3.3-85-ge75e0f7



The following commit has been merged in the master branch:
commit 13eb3027fdaa8bda78e6c5e6ceac0fc39aea2b17
Author: Russ Allbery <rra@debian.org>
Date:   Sun Mar 21 23:03:13 2010 -0700

    Fix the sense of the example Perl module test
    
    When skipping non-executable Perl modules, the file name test was
    reversed.  Fix it.

diff --git a/checks/scripts b/checks/scripts
index e7371b3..62d4742 100644
--- a/checks/scripts
+++ b/checks/scripts
@@ -367,7 +367,7 @@ for my $filename (sort keys %{$info->scripts}) {
     # skip those too if they're not executable.  Be conservative here, since
     # it's not uncommon for people to both not set examples executable and not
     # fix the path and we want to warn about that.
-    next if ($filename !~ /\.pm\z/ and !$executable{$filename}
+    next if ($filename =~ /\.pm\z/ and !$executable{$filename}
 	     and !$is_absolute and $in_examples);
 
     if ($interpreter eq "") {

-- 
Debian package checker


Reply to: