Skip to content

Commit 324ad2b

Browse files
committed
fix path on windows
1 parent 830ae69 commit 324ad2b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.evergreen/scripts/install-dependencies.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ function _pip_install() {
1818
_HERE=$(dirname ${BASH_SOURCE:-$0})
1919
. $_HERE/../utils.sh
2020
_VENV_PATH=$(mktemp -d)
21+
if [ "Windows_NT" = "${OS:-}" ]; then
22+
_VENV_PATH=$(cygpath -m $_VENV_PATH)
23+
fi
2124
echo "Installing $2 using pip..."
2225
createvirtualenv "$(find_python3)" $_VENV_PATH
2326
python -m pip install $1

0 commit comments

Comments
 (0)