summaryrefslogtreecommitdiff
path: root/tox/_venv.py
diff options
context:
space:
mode:
Diffstat (limited to 'tox/_venv.py')
-rw-r--r--tox/_venv.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tox/_venv.py b/tox/_venv.py
index d67ddb9..ec7ada2 100644
--- a/tox/_venv.py
+++ b/tox/_venv.py
@@ -216,7 +216,7 @@ class VirtualEnv(object):
action.setactivity('pip-downgrade', 'pip<1.4')
argv = ["easy_install"] + \
self._installopts(indexserver) + ['pip<1.4']
- self._pcall(argv, cwd=self.envconfig.envlogdir,
+ self._pcall(argv, cwd=self.envconfig.config.toxinidir,
action=action)
def finish(self):
@@ -299,8 +299,8 @@ class VirtualEnv(object):
env = dict(PYTHONIOENCODING='utf_8')
if extraenv is not None:
env.update(extraenv)
- self._pcall(argv, cwd=self.envconfig.envlogdir,
- extraenv=env, action=action)
+ self._pcall(argv, cwd=self.envconfig.config.toxinidir,
+ extraenv=env, action=action)
def _install(self, deps, extraopts=None, action=None):
if not deps: