Commit 00a074ba authored by Martin Galpin's avatar Martin Galpin

Enclose --prefix path in quotations to support paths with spaces.

parent 3cace017
...@@ -116,7 +116,7 @@ class Recipe(object): ...@@ -116,7 +116,7 @@ class Recipe(object):
configure_cmd = './configure' configure_cmd = './configure'
# Inject the --prefix parameter if not already present # Inject the --prefix parameter if not already present
if '--prefix' not in ' '.join(configure_options): if '--prefix' not in ' '.join(configure_options):
configure_options.insert(0, '--prefix=%s' % self.options['prefix']) configure_options.insert(0, '--prefix=\"%s\"' % self.options['prefix'])
patch_cmd = self.options.get('patch-binary', 'patch').strip() patch_cmd = self.options.get('patch-binary', 'patch').strip()
patch_options = ' '.join(self.options.get('patch-options', '-p0').split()) patch_options = ' '.join(self.options.get('patch-options', '-p0').split())
......
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