[Bps-public-commit] r13389 - in Shipwright: trunk/share/bin
spang at bestpractical.com
spang at bestpractical.com
Wed Jun 18 13:19:40 EDT 2008
Author: spang
Date: Wed Jun 18 13:19:24 2008
New Revision: 13389
Modified:
Shipwright/ (props changed)
Shipwright/trunk/share/bin/shipwright-builder
Log:
r41472 at loki: spang | 2008-06-18 13:18:17 -0400
also skip commented lines in build script when building with shipwright-builder
Modified: Shipwright/trunk/share/bin/shipwright-builder
==============================================================================
--- Shipwright/trunk/share/bin/shipwright-builder (original)
+++ Shipwright/trunk/share/bin/shipwright-builder Wed Jun 18 13:19:24 2008
@@ -325,7 +325,7 @@
print $log "build $type part in $dir with cmd: $cmd\n";
- print "we'll run the cmd: $cmd\n";
+ print "running shipwright build command: $cmd\n";
if ( system($cmd) ) {
print $log "build $dir $type part with failure.\n";
if ( $args{force} && $type eq 'test' ) {
@@ -472,7 +472,7 @@
my $return = [];
for (@cmds) {
my ( $type, $cmd );
- next unless /\S/;
+ next unless /\S/ && /^(?!#)\w+/; # skip commented and blank lines
if (/^(\S+):\s*(.*)/) {
$type = $1;
More information about the Bps-public-commit
mailing list