1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #2995 from SirScott/pip-sudo-user

pip module -- sudo_user permission problem fix
This commit is contained in:
Michael DeHaan 2013-05-24 19:51:38 -07:00
commit e3af9258ae

View file

@ -201,6 +201,7 @@ def main():
cmd = '%s --system-site-packages %s' % (virtualenv, env)
else:
cmd = '%s %s' % (virtualenv, env)
os.chdir(tempfile.gettempdir())
rc, out_venv, err_venv = module.run_command(cmd)
out += out_venv
err += err_venv