Merge pull request #4735 from chrisalbright/patch-1
pip module: fix unexpected behavior when creating virtualenvs
This commit is contained in:
commit
9aa93fa307
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue