Author: adam-guest
Date: 2008-03-17 18:29:50 +0000 (Mon, 17 Mar 2008)
New Revision: 1158

Modified:
   trunk/debian/changelog
   trunk/scripts/checkbashisms.pl
Log:
  + Fix an error in the "shell script wrapper" detection

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2008-03-16 19:41:49 UTC (rev 1157)
+++ trunk/debian/changelog      2008-03-17 18:29:50 UTC (rev 1158)
@@ -3,6 +3,7 @@
   * checkbashisms:
     + Make --version actually produce version information
     + Fix explanation of VAR+=foo
+    + Fix an error in the "shell script wrapper" detection
 
  -- Adam D. Barratt <[EMAIL PROTECTED]>  Sun, 16 Mar 2008 19:40:40 +0000
 

Modified: trunk/scripts/checkbashisms.pl
===================================================================
--- trunk/scripts/checkbashisms.pl      2008-03-16 19:41:49 UTC (rev 1157)
+++ trunk/scripts/checkbashisms.pl      2008-03-17 18:29:50 UTC (rev 1158)
@@ -326,7 +326,7 @@
         next if /^$/o;
         last if (++$i > 20);
 
-        if 
(/(^\s*|\beval\s*\'|;\s*)exec\s*.+\s*.?\$0.?\s*(--\s*)?(\${1:?\+)?.?\$(\@|\*)/o)
 {
+        if 
(/(^\s*|\beval\s*\'|;\s*)exec\s*.+\s*.?\$0.?\s*(--\s*)?.?(\${1:?\+)?\$(\@|\*)/o)
 {
             $ret = 1;
             last;
         }



-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to