Author: rra
Date: 2008-02-19 07:57:52 +0100 (Tue, 19 Feb 2008)
New Revision: 1217

Modified:
   trunk/checks/scripts
Log:
Another minor tweak to the bashism regex.


Modified: trunk/checks/scripts
===================================================================
--- trunk/checks/scripts        2008-02-19 06:28:16 UTC (rev 1216)
+++ trunk/checks/scripts        2008-02-19 06:57:52 UTC (rev 1217)
@@ -567,7 +567,7 @@
 
                # since this test is ugly, I have to do it by itself
                # detect source (.) trying to pass args to the command it runs
-               if (not $found and m/^\s*(\.\s+[^\s;\`]+\s+([^\s]+))/) {
+               if (not $found and m/^\s*(\.\s+[^\s;\`]+\s+([^\s;]+))/) {
                    if ($2 =~ /^(\&|\||\d?>|<)/) {
                        # everything is ok
                        ;


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to