Commit 85b0a08b authored by Arnaud Fontaine's avatar Arnaud Fontaine

Add products-deps as well (following 06bde8c4).

parent 06bde8c4
...@@ -130,7 +130,7 @@ parts = ...@@ -130,7 +130,7 @@ parts =
# fix products path (Zeo needs ERP5 Products to be available for # fix products path (Zeo needs ERP5 Products to be available for
# conflict resolution) # conflict resolution)
fix-erp5-products-path fix-products-paths
[bt5-repository] [bt5-repository]
# Format: # Format:
...@@ -230,12 +230,13 @@ update-command = cd ${:location} && ${git:location}/bin/git pull --quiet && if [ ...@@ -230,12 +230,13 @@ update-command = cd ${:location} && ${git:location}/bin/git pull --quiet && if [
[products] [products]
# XXX: ERP5 related products are not defined as python distributions, so it is # XXX: ERP5 related products are not defined as python distributions, so it is
# required to configure them in declarative manner # required to configure them in declarative manner
list = ${products-deps:location} list =
[fix-erp5-products-path] [fix-products-paths]
recipe = plone.recipe.command recipe = plone.recipe.command
stop-on-error = true stop-on-error = true
command = 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 for DIR in "${erp5:location}"; do cd "$DIR"; rm -f Products ; ln -s product Products; touch product/__init__.py; done
update-command = ${:command} update-command = ${:command}
...@@ -379,6 +380,7 @@ scripts = ...@@ -379,6 +380,7 @@ scripts =
extra-paths = extra-paths =
${itools:location}/lib ${itools:location}/lib
${products-deps:location}
${erp5:location} ${erp5:location}
[mysql-python] [mysql-python]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment