We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc7e67f commit 2c07540Copy full SHA for 2c07540
Lib/venv/scripts/common/activate
@@ -36,7 +36,7 @@ deactivate () {
36
deactivate nondestructive
37
38
# on Windows, a path can contain colons and backslashes and has to be converted:
39
-if [ "$OSTYPE" = "cygwin" ] || [ "$OSTYPE" = "msys" ] ; then
+if [ "${OSTYPE:-}" = "cygwin" ] || [ "${OSTYPE:-}" = "msys" ] ; then
40
# transform D:\path\to\venv to /d/path/to/venv on MSYS
41
# and to /cygdrive/d/path/to/venv on Cygwin
42
export VIRTUAL_ENV=$(cygpath "__VENV_DIR__")
0 commit comments