Skip to content

Commit b6db740

Browse files
authored
Merge pull request #622 from QEDK/patch-provision
provision: Fix source command on Windows
1 parent 5ca3548 commit b6db740

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/provision

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ the Python version this command is executed with."""
116116
venv_dir,
117117
venv_exec_dir,
118118
'activate')
119+
# We make the path look like a Unix path, because most Windows users
120+
# are likely to be running in a bash shell.
121+
activate_command = activate_command.replace(os.sep, '/')
119122
print('\nRun the following to enter into the virtualenv:\n')
120123
print(bold + ' source ' + activate_command + end_format + "\n")
121124

0 commit comments

Comments
 (0)