mirror of
https://github.com/frappe/bench.git
synced 2024-11-13 08:46:30 +00:00
fix: correct python path for migrate_env
Currently it's executing env directory which would never work.
This commit is contained in:
parent
7f1c5ad9c6
commit
61e0f4acbf
@ -218,7 +218,7 @@ def migrate_env(python, backup=False):
|
||||
venv_creation = exec_cmd(f"{virtualenv} --python {python} {pvenv}")
|
||||
|
||||
apps = " ".join([f"-e {os.path.join('apps', app)}" for app in bench.apps])
|
||||
packages_setup = exec_cmd(f"{pvenv} -m pip install --upgrade {apps}")
|
||||
packages_setup = exec_cmd(f"{pvenv}/bin/python -m pip install --upgrade {apps}")
|
||||
|
||||
logger.log(f"Migration Successful to {python}")
|
||||
except Exception:
|
||||
|
Loading…
Reference in New Issue
Block a user