summaryrefslogtreecommitdiffstats
path: root/Lib/venv
diff options
context:
space:
mode:
authorJames Abel <j@abel.co>2019-10-07 21:07:19 (GMT)
committerSteve Dower <steve.dower@python.org>2019-10-07 21:07:19 (GMT)
commite310af9e2941c2fbb7370e003276cc37eb230f16 (patch)
tree120bf993d3554ce710cdc2d1bb740a73943c1b5b /Lib/venv
parent15ae75d660befe643ed42eb2707a557cea97256c (diff)
downloadcpython-e310af9e2941c2fbb7370e003276cc37eb230f16.zip
cpython-e310af9e2941c2fbb7370e003276cc37eb230f16.tar.gz
cpython-e310af9e2941c2fbb7370e003276cc37eb230f16.tar.bz2
bpo-38344: Fix syntax in activate.bat (GH-16533)
Diffstat (limited to 'Lib/venv')
-rw-r--r--Lib/venv/scripts/nt/activate.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/venv/scripts/nt/activate.bat b/Lib/venv/scripts/nt/activate.bat
index 8eb5c1f..af4c7e0 100644
--- a/Lib/venv/scripts/nt/activate.bat
+++ b/Lib/venv/scripts/nt/activate.bat
@@ -22,7 +22,7 @@ if defined PYTHONHOME set _OLD_VIRTUAL_PYTHONHOME=%PYTHONHOME%
set PYTHONHOME=
if defined _OLD_VIRTUAL_PATH set PATH=%_OLD_VIRTUAL_PATH%
-else set _OLD_VIRTUAL_PATH=%PATH%
+if not defined _OLD_VIRTUAL_PATH set _OLD_VIRTUAL_PATH=%PATH%
set PATH=%VIRTUAL_ENV%\__VENV_BIN_NAME__;%PATH%