Commit 21b55f59 authored by Łukasz Nowak's avatar Łukasz Nowak

- standalone default - put data.fs in client_home if no file-storage given


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32507 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c57df521
...@@ -16,7 +16,6 @@ develop = recipes/erp5.recipe.standaloneinstance ...@@ -16,7 +16,6 @@ develop = recipes/erp5.recipe.standaloneinstance
[zope-instance] [zope-instance]
recipe = erp5.recipe.standaloneinstance recipe = erp5.recipe.standaloneinstance
location = ${buildout:var-directory}/zope-instance location = ${buildout:var-directory}/zope-instance
file-storage = ${:location}/var/Data.fs
eggs += eggs +=
ipdb ipdb
pysvn pysvn
......
...@@ -14,6 +14,8 @@ class Recipe(erp5.recipe.zope2instance.Recipe): ...@@ -14,6 +14,8 @@ class Recipe(erp5.recipe.zope2instance.Recipe):
raise zc.buildout.UserError('Location have to be specified') raise zc.buildout.UserError('Location have to be specified')
options['bin-directory'] = os.path.join(standalone_location, 'bin') options['bin-directory'] = os.path.join(standalone_location, 'bin')
options['scripts'] = '' # suppress script generation. options['scripts'] = '' # suppress script generation.
options['file-storage'] = options.get('file-storage',
os.path.join(standalone_location, 'var', 'Data.fs'))
# Relative path support for the generated scripts # Relative path support for the generated scripts
relative_paths = options.get( relative_paths = options.get(
......
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