[Bps-public-commit] r17744 - in Shipwright/trunk: lib/Shipwright/Backend

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Jan 14 05:20:16 EST 2009


Author: sunnavy
Date: Wed Jan 14 05:20:15 2009
New Revision: 17744

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

Log:
 r18780 at sunnavys-mb:  sunnavy | 2009-01-14 18:19:57 +0800
 bug fix: _cmd can return a list of cmds


Modified: Shipwright/trunk/lib/Shipwright/Backend/Base.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Backend/Base.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Backend/Base.pm	Wed Jan 14 05:20:15 2009
@@ -204,8 +204,11 @@
                     $version->{$name} = $args{version};
                     $self->version($version);
 
-                    Shipwright::Util->run(
-                        $self->_cmd( import => %args, name => $name ) );
+                    for
+                      my $cmd ( $self->_cmd( import => %args, name => $name ) )
+                    {
+                        Shipwright::Util->run($cmd);
+                    }
                 }
             }
         }



More information about the Bps-public-commit mailing list