From 85b0a08b19cf287b7dda4ae8b529c7517af6940e Mon Sep 17 00:00:00 2001 From: Arnaud Fontaine <arnaud.fontaine@nexedi.com> Date: Tue, 23 Aug 2011 19:04:07 +0900 Subject: [PATCH] Add products-deps as well (following 06bde8c). --- stack/erp5.cfg | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/stack/erp5.cfg b/stack/erp5.cfg index f9d97ca6f..58d59be55 100644 --- a/stack/erp5.cfg +++ b/stack/erp5.cfg @@ -130,7 +130,7 @@ parts = # fix products path (Zeo needs ERP5 Products to be available for # conflict resolution) - fix-erp5-products-path + fix-products-paths [bt5-repository] # Format: @@ -230,12 +230,13 @@ update-command = cd ${:location} && ${git:location}/bin/git pull --quiet && if [ [products] # XXX: ERP5 related products are not defined as python distributions, so it is # required to configure them in declarative manner -list = ${products-deps:location} +list = -[fix-erp5-products-path] +[fix-products-paths] recipe = plone.recipe.command stop-on-error = true command = + for DIR in "${products-deps:location}"; do cd "$DIR"; rm -f Products ; ln -s . Products; touch __init__.py; done for DIR in "${erp5:location}"; do cd "$DIR"; rm -f Products ; ln -s product Products; touch product/__init__.py; done update-command = ${:command} @@ -379,6 +380,7 @@ scripts = extra-paths = ${itools:location}/lib + ${products-deps:location} ${erp5:location} [mysql-python] -- 2.30.9