We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44aa603 commit e1540aeCopy full SHA for e1540ae
Lib/venv/scripts/common/activate
@@ -39,7 +39,7 @@ deactivate () {
39
deactivate nondestructive
40
41
# on Windows, a path can contain colons and backslashes and has to be converted:
42
-if [ "$OSTYPE" = "cygwin" ] || [ "$OSTYPE" = "msys" ] ; then
+if [ "${OSTYPE:-}" = "cygwin" ] || [ "${OSTYPE:-}" = "msys" ] ; then
43
# transform D:\path\to\venv to /d/path/to/venv on MSYS
44
# and to /cygdrive/d/path/to/venv on Cygwin
45
export VIRTUAL_ENV=$(cygpath "__VENV_DIR__")
0 commit comments