Commit 4660badd authored by Łukasz Nowak's avatar Łukasz Nowak

Bugfix: Zeo running wrapper have to be unique.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45777 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4f70e94d
...@@ -533,8 +533,9 @@ class Recipe(BaseSlapRecipe): ...@@ -533,8 +533,9 @@ class Recipe(BaseSlapRecipe):
zeo_conf_path = self.createConfigurationFile('zeo-%s.conf' % zeo_number, zeo_conf_path = self.createConfigurationFile('zeo-%s.conf' % zeo_number,
self.substituteTemplate(self.getTemplateFilename('zeo.conf.in'), config)) self.substituteTemplate(self.getTemplateFilename('zeo.conf.in'), config))
self.path_list.append(zeo_conf_path) self.path_list.append(zeo_conf_path)
wrapper = zc.buildout.easy_install.scripts([('zeo', __name__ + '.execute', wrapper = zc.buildout.easy_install.scripts([('zeo-%s' % zeo_number,
'execute')], self.ws, sys.executable, self.wrapper_directory, arguments=[ __name__ + '.execute', 'execute')], self.ws, sys.executable,
self.wrapper_directory, arguments=[
self.options['runzeo_binary'].strip(), '-C', zeo_conf_path] self.options['runzeo_binary'].strip(), '-C', zeo_conf_path]
)[0] )[0]
self.path_list.append(wrapper) self.path_list.append(wrapper)
......
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