From 6c5ccd8096670804496ec8c3d70e9c8f32fba987 Mon Sep 17 00:00:00 2001 From: QEDK <1994constant@gmail.com> Date: Sun, 20 Sep 2020 15:52:18 +0530 Subject: [PATCH] provision: Fix source command --- tools/provision | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/provision b/tools/provision index e6894ea04..c0d143a86 100755 --- a/tools/provision +++ b/tools/provision @@ -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")