[Bps-public-commit] r13514 - in Shipwright/trunk: . share/bin

sunnavy at bestpractical.com sunnavy at bestpractical.com
Sat Jun 21 03:03:57 EDT 2008


Author: sunnavy
Date: Sat Jun 21 03:03:56 2008
New Revision: 13514

Modified:
   Shipwright/trunk/   (props changed)
   Shipwright/trunk/lib/Shipwright/Build.pm
   Shipwright/trunk/share/bin/shipwright-builder

Log:
 r13598 at sunnavys-mb:  sunnavy | 2008-06-20 20:19:38 +0800
 tiny change


Modified: Shipwright/trunk/lib/Shipwright/Build.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Build.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Build.pm	Sat Jun 21 03:03:56 2008
@@ -192,7 +192,7 @@
 
         for (@cmds) {
             my ( $type, $cmd );
-            next unless /\S/ && /^(?!#)\w+/;    # skip commented and blank lines
+            next unless /\S/ && /^(?!#)/;    # skip commented and blank lines
 
             if (/^(\S+):\s*(.*)/) {
                 $type = $1;

Modified: Shipwright/trunk/share/bin/shipwright-builder
==============================================================================
--- Shipwright/trunk/share/bin/shipwright-builder	(original)
+++ Shipwright/trunk/share/bin/shipwright-builder	Sat Jun 21 03:03:56 2008
@@ -472,7 +472,7 @@
     my $return = [];
     for (@cmds) {
         my ( $type, $cmd );
-        next unless /\S/ && /^(?!#)\w+/;    # skip commented and blank lines
+        next unless /\S/ && /^(?!#)/;    # skip commented and blank lines
 
         if (/^(\S+):\s*(.*)/) {
             $type = $1;



More information about the Bps-public-commit mailing list