From eb574c03f477fbe0e3c245f123c57e625b34fd09 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Mon, 22 Nov 2010 16:32:09 +0000
Subject: [PATCH]  - & runs processes in background, || exit 1 will make them
 exit with error code

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40491 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 buildout/software-profiles/erp5-2.12.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/buildout/software-profiles/erp5-2.12.cfg b/buildout/software-profiles/erp5-2.12.cfg
index 22aebdbde9..cc20ddf960 100644
--- a/buildout/software-profiles/erp5-2.12.cfg
+++ b/buildout/software-profiles/erp5-2.12.cfg
@@ -68,7 +68,7 @@ stop-on-error = true
 update-command = ${:command}
 product_list = AGProjects CMFActivity CMFCategory ERP5 ERP5Catalog ERP5Form ERP5Legacy ERP5OOo ERP5Security ERP5SyncML ERP5Type ERP5Wizard ERP5Workflow Formulator HBTreeFolder2 MailTemplates PortalTransforms TimerService ZMySQLDA ZMySQLDDA ZSQLCatalog
 command =
-  for product in ${:product_list} ; do ${subversion:location}/bin/svn checkout ${:svn_param} https://svn.erp5.org/repos/public/erp5/trunk/products/$product ${:location}/$product & done
+  for product in ${:product_list} ; do ${subversion:location}/bin/svn checkout ${:svn_param} https://svn.erp5.org/repos/public/erp5/trunk/products/$product ${:location}/$product || exit 1 ; done
 
 [products-erp5-development]
 # Recipe infrae.subversion is using svn command under the hood, but there is
@@ -81,7 +81,7 @@ stop-on-error = true
 update-command = ${:command}
 product_list = ERP5Subversion
 command =
-  for product in ${:product_list} ; do ${subversion:location}/bin/svn checkout ${:svn_param} https://svn.erp5.org/repos/public/erp5/trunk/products/$product ${:location}/$product & done
+  for product in ${:product_list} ; do ${subversion:location}/bin/svn checkout ${:svn_param} https://svn.erp5.org/repos/public/erp5/trunk/products/$product ${:location}/$product || exit 1 ; done
 
 [products]
 recipe = plone.recipe.command
-- 
2.30.9