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

[SCM] Debian package checker branch, master, updated. 2.5.4-56-gd8feba6



The following commit has been merged in the master branch:
commit d8feba6403a13a9fe9f977a8f5e769e7665321df
Author: Niels Thykier <niels@thykier.net>
Date:   Wed Dec 21 19:41:46 2011 +0100

    Skip "brace expansion" check for executable debhelper file
    
    Lintian does not know how the interpreter of the file handles
    "{...}"-constructs (if at all).
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/checks/debhelper b/checks/debhelper
index 74a4aa1..d30a280 100644
--- a/checks/debhelper
+++ b/checks/debhelper
@@ -339,6 +339,9 @@ foreach my $file (sort readdir(DEBIAN)) {
         # supported.
         if ($filename_configs->known($base)) {
             next if $level < 3;
+            # Do not make assumptions about the contents of an
+            # executable debhelper file.
+            next if -x "$droot/$file";
             open (IN, '<', "$droot/$file")
                 or fail("Can't open debfiles/$file: $!");
             local $_;
diff --git a/debian/changelog b/debian/changelog
index b88e180..2522e19 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,9 @@ lintian (2.5.5) UNRELEASED; urgency=low
     + [NT] Added dh-autoreconf as a build-depends alternative to
       libtool for suppressing ancient-libtool warning.  Thanks to
       Felix Geyer for the report.  (Closes: #650325)
+  * checks/debhelper:
+    + [NT] Do not check executable debhelper files for brace
+      expansion.  It may be allowed by tool interpretting the file.
   * checks/fields{,.desc}:
     + [JW] Properly handle uploader names with commas.
       (Closes: #485705)

-- 
Debian package checker


Reply to: