Chdir to tempdir to prevent permissions problems.

reviewable/pr18780/r1
Scott Sturdivant 12 years ago
parent 3926f76644
commit cc1f1368e4

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

Loading…
Cancel
Save