summaryrefslogtreecommitdiffstats
path: root/Lib/venv/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/venv/scripts')
-rw-r--r--Lib/venv/scripts/nt/deactivate.bat12
1 files changed, 8 insertions, 4 deletions
diff --git a/Lib/venv/scripts/nt/deactivate.bat b/Lib/venv/scripts/nt/deactivate.bat
index 62da5b1..313c079 100644
--- a/Lib/venv/scripts/nt/deactivate.bat
+++ b/Lib/venv/scripts/nt/deactivate.bat
@@ -1,17 +1,21 @@
@echo off
if defined _OLD_VIRTUAL_PROMPT (
- set PROMPT=%_OLD_VIRTUAL_PROMPT%
+ set "PROMPT=%_OLD_VIRTUAL_PROMPT%"
)
set _OLD_VIRTUAL_PROMPT=
if defined _OLD_VIRTUAL_PYTHONHOME (
- set PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME%
- set _OLD_VIRTUAL_PYTHONHOME=
+ set "PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME%"
+ set _OLD_VIRTUAL_PYTHONHOME=
)
-if defined _OLD_VIRTUAL_PATH set PATH=%_OLD_VIRTUAL_PATH%
+if defined _OLD_VIRTUAL_PATH (
+ set "PATH=%_OLD_VIRTUAL_PATH%"
+)
set _OLD_VIRTUAL_PATH=
+set VIRTUAL_ENV=
+
:END