Merge pull request #4735 from chrisalbright/patch-1

pip module: fix unexpected behavior when creating virtualenvs
pull/4817/head
jctanner 11 years ago
commit 9aa93fa307

@ -247,7 +247,7 @@ def main():
if module.params['virtualenv_site_packages']:
cmd = '%s --system-site-packages %s' % (virtualenv, env)
else:
cmd = '%s %s' % (virtualenv, env)
cmd = '%s --no-site-packages %s' % (virtualenv, env)
os.chdir(tempfile.gettempdir())
if chdir:
os.chdir(chdir)

Loading…
Cancel
Save