Author: adsb
Date: 2009-05-31 17:08:05 +0000 (Sun, 31 May 2009)
New Revision: 1897

Modified:
   trunk/debian/changelog
   trunk/scripts/checkbashisms.pl
Log:
Do not check the contents of a dpatch.  The wrapper script always uses
/bin/sh and we can't detect the interpreter of a patch.

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2009-05-31 17:05:17 UTC (rev 1896)
+++ trunk/debian/changelog      2009-05-31 17:08:05 UTC (rev 1897)
@@ -15,6 +15,8 @@
     + Correctly count the number of quotes in a line when detecting whether
       we are currently inside a "quoted block".  Thanks, Raphael Geissert.
       (Closes: #531247)
+    + Do not check the contents of a dpatch.  The wrapper script always uses
+      /bin/sh and we can't detect the interpreter of a patch.
   * licensecheck: Fix an error in a regular expression which led to an
     uninitialized value warning and missing version for some GPL headers.
     Thanks, Jakub Wilk.  (Closes: #531059)

Modified: trunk/scripts/checkbashisms.pl
===================================================================
--- trunk/scripts/checkbashisms.pl      2009-05-31 17:05:17 UTC (rev 1896)
+++ trunk/scripts/checkbashisms.pl      2009-05-31 17:08:05 UTC (rev 1897)
@@ -451,6 +451,9 @@
 
            $ret = $. - 1;
            last;
+       } elsif (m...@dpatch@~) {
+           $ret = $. - 1;
+           last;
        }
 
     }



-- 
To unsubscribe, send mail to [email protected].

Reply via email to