diff --git a/stack/erp5.cfg b/stack/erp5.cfg index f9d97ca6fb9e848a12769106ca668229194f6548..58d59be554974a1c3de7ad0db6a4444f3031102f 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]