provision: Fix source command on Windows.

This commit is contained in:
qedk 2020-09-20 19:10:31 +05:30 committed by Tim Abbott
parent 5ca3548bd3
commit 21f87b3e88

View file

@ -116,6 +116,9 @@ the Python version this command is executed with."""
venv_dir,
venv_exec_dir,
'activate')
# We make the path look like a Unix path, because most Windows users
# are likely to be running in a bash shell.
activate_command = activate_command.replace(os.sep, '/')
print('\nRun the following to enter into the virtualenv:\n')
print(bold + ' source ' + activate_command + end_format + "\n")