Commit 70f9e118 authored by Jondy Zhao's avatar Jondy Zhao Committed by Cédric de Saint Martin

Restore default part directory other than in the Cygwin.

parent 50958d2e
...@@ -36,6 +36,8 @@ class Recipe(object): ...@@ -36,6 +36,8 @@ class Recipe(object):
prefix = options.get('prefix', '').strip() prefix = options.get('prefix', '').strip()
if prefix == '': if prefix == '':
prefix = self.buildout_prefix = buildout['buildout'].get('prefix', '').strip() prefix = self.buildout_prefix = buildout['buildout'].get('prefix', '').strip()
if 'cygwin' != sys.platform:
self.buildout_prefix = ''
else: else:
self.buildout_prefix = '' self.buildout_prefix = ''
options['prefix'] = options['location'] if prefix == '' else prefix options['prefix'] = options['location'] if prefix == '' else prefix
......
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