summaryrefslogtreecommitdiff
path: root/PCbuild
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-03-27 17:01:31 -0700
committerGitHub <noreply@github.com>2019-03-27 17:01:31 -0700
commit1ff04dcadfb57a8a8f61a6ea93292e8ae96dca4a (patch)
tree4cdc3e46eccea6f914567196f595ac1c99abadd5 /PCbuild
parent9cad523328324bd82fa19b597ead1614a0e61ae2 (diff)
downloadcpython-git-1ff04dcadfb57a8a8f61a6ea93292e8ae96dca4a.tar.gz
bpo-36245: Fix more empty environment variable checks (GH-12592)
(cherry picked from commit b95a79c928fc4a6135d91c0c553cb2a63cf15140) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/get_externals.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/PCbuild/get_externals.bat b/PCbuild/get_externals.bat
index cbeb5a19b5..887fdc9411 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