Commit c66433ea authored by Antoine Catton's avatar Antoine Catton

Fix generation of enviroment in shell script

parent 95021272
......@@ -147,7 +147,7 @@ class Recipe(object):
def _install_executable(self, path):
content = ['#!/bin/sh']
for key, val in self._get_env().items():
content.append('export %s=%s' % (key, val))
content.append("export %s='%s'" % (key, val))
content.append('%s "$@"' % path)
name = os.path.basename(path)
bindir = self.buildout['buildout']['bin-directory']
......
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