[Bps-public-commit] r17824 - in Shipwright/trunk: .

sunnavy at bestpractical.com sunnavy at bestpractical.com
Sun Jan 18 08:00:24 EST 2009


Author: sunnavy
Date: Sun Jan 18 08:00:20 2009
New Revision: 17824

Modified:
   Shipwright/trunk/   (props changed)
   Shipwright/trunk/lib/Shipwright/Build.pm

Log:
 r18896 at sunnavys-mb:  sunnavy | 2009-01-18 20:48:15 +0800
 set default branch in build


Modified: Shipwright/trunk/lib/Shipwright/Build.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Build.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Build.pm	Sun Jan 18 08:00:20 2009
@@ -211,7 +211,7 @@
     my $dir      = shift;
     my $ktf      = shift;
     my $branches = shift;
-    my $branch = $self->branches->{$dir} || $branches->{$dir}[0];
+    my $branch = $self->branches->{$dir} || $branches->{$dir}[0] || 'vendor';
 
     if ($branches) {
         system( "cp -r "



More information about the Bps-public-commit mailing list