Commit 1328d5ff authored by specialunderwear's avatar specialunderwear

Pass all arguments as separate arguments instead of a single string.

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