[Bps-public-commit] r14387 - in Shipwright/trunk: lib/Shipwright/Script

sunnavy at bestpractical.com sunnavy at bestpractical.com
Tue Jul 22 13:42:25 EDT 2008


Author: sunnavy
Date: Tue Jul 22 13:42:20 2008
New Revision: 14387

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

Log:
 r14846 at sunnavys-mb:  sunnavy | 2008-07-23 01:33:06 +0800
 fix a bug of update cmd


Modified: Shipwright/trunk/lib/Shipwright/Script/Update.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script/Update.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Script/Update.pm	Tue Jul 22 13:42:20 2008
@@ -76,6 +76,10 @@
                 $find_deps->($name);
                 @dists = keys %checked;
             }
+            else {
+                @dists = $name;
+            }
+
             for ( @dists ) {
                 if ( $_ eq $name ) {
                     $self->_update( $_, $self->version );



More information about the Bps-public-commit mailing list