Author: adam-guest
Date: 2008-03-28 18:13:26 +0000 (Fri, 28 Mar 2008)
New Revision: 1214

Modified:
   trunk/debian/changelog
   trunk/scripts/checkbashisms.pl
Log:
  + Add checks for pushd and popd

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2008-03-28 18:06:32 UTC (rev 1213)
+++ trunk/debian/changelog      2008-03-28 18:13:26 UTC (rev 1214)
@@ -12,6 +12,7 @@
     + Add another variation on the theme of shell wrapper detection (${1+"$@"})
     + Temporarily disable the check for "complete" as it's too prone to false
       positives
+    + Add checks for pushd and popd
   * debcheckout:
     + Tighten the "repository owner" regex for darcs.d.o to correctly check
       http://darcs.d.o/~foo/bar/baz against user foo

Modified: trunk/scripts/checkbashisms.pl
===================================================================
--- trunk/scripts/checkbashisms.pl      2008-03-28 18:06:32 UTC (rev 1213)
+++ trunk/scripts/checkbashisms.pl      2008-03-28 18:13:26 UTC (rev 1214)
@@ -179,6 +179,7 @@
                '(?:^|\s+)local\s+-[a-zA-Z]+' => q<local -opt>,
                '(?:^|\s+)local\s+\w+=' =>     q<local foo=bar>,
                '(?:^|\s+)\s*\(?\w*[^\(\w\s]+\S*?\s*[^\"]\(\)' => q<function 
names should only contain [a-z0-9_]>,
+               '(?:^|\s+)(push|pod)d\b' =>    q<(push|pod)d>,
            );
 
            my %string_bashisms = (



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

Reply via email to