diff options
author | Steve Dower <steve.dower@microsoft.com> | 2019-03-27 23:28:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-27 23:28:41 (GMT) |
commit | b95a79c928fc4a6135d91c0c553cb2a63cf15140 (patch) | |
tree | 47ca04409d9ad6c3f65676f4d88a16ad9063414f | |
parent | d5a5a33f12b60129d57f9b423b77d2fcba506834 (diff) | |
download | cpython-b95a79c928fc4a6135d91c0c553cb2a63cf15140.zip cpython-b95a79c928fc4a6135d91c0c553cb2a63cf15140.tar.gz cpython-b95a79c928fc4a6135d91c0c553cb2a63cf15140.tar.bz2 |
bpo-36245: Fix more empty environment variable checks (GH-12592)
-rw-r--r-- | PCbuild/get_externals.bat | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/PCbuild/get_externals.bat b/PCbuild/get_externals.bat index cbeb5a1..887fdc9 100644 --- a/PCbuild/get_externals.bat +++ b/PCbuild/get_externals.bat @@ -2,8 +2,8 @@ setlocal rem Simple script to fetch source for external libraries -if "%PCBUILD%"=="" (set PCBUILD=%~dp0) -if "%EXTERNALS_DIR%"=="" (set EXTERNALS_DIR=%PCBUILD%\..\externals) +if NOT DEFINED PCBUILD (set PCBUILD=%~dp0) +if NOT DEFINED EXTERNALS_DIR (set EXTERNALS_DIR=%PCBUILD%\..\externals) set DO_FETCH=true set DO_CLEAN=false |