]> gitweb.fluxo.info Git - puppet-bootstrap.git/commitdiff
fixing script
authordrebs <drebs@riseup.net>
Thu, 17 Mar 2011 16:19:36 +0000 (13:19 -0300)
committerdrebs <drebs@riseup.net>
Thu, 17 Mar 2011 16:19:36 +0000 (13:19 -0300)
templates/bin/puppet-bootstrap

index dc249103e5ed5c507a5b50539e66483b1d881182..b2b8eca7ab737fa656ecb5774aa14f616212f845 100644 (file)
@@ -19,9 +19,7 @@ function add_submodules {
     fi
   done
 
-  do
-    git submodule update --init
-  while [ $? -ne 0 ];
+  git submodule update --init
 }
 
 if [ $# -ne 2 ]; then