Set PATH in slaprunner wrapper (correct arguments)

parent 8f2e7d53
......@@ -70,7 +70,7 @@ class Recipe(BaseSlapRecipe):
self.path_list.append(config_file)
execute_arguments = dict(path = os.environ['PATH'],
args = [self.options['slaprunner'].strip(), config_file])
launch_args = [self.options['slaprunner'].strip(), config_file])
self.path_list.extend(zc.buildout.easy_install.scripts([('slaprunner',
'slapos.recipe.slaprunner.execute', 'execute')], self.ws, sys.executable,
self.wrapper_directory, arguments=execute_arguments))
......
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