Skip to content

Commit b95a79c

Browse files
authored
bpo-36245: Fix more empty environment variable checks (GH-12592)
1 parent d5a5a33 commit b95a79c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PCbuild/get_externals.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
setlocal
33
rem Simple script to fetch source for external libraries
44

5-
if "%PCBUILD%"=="" (set PCBUILD=%~dp0)
6-
if "%EXTERNALS_DIR%"=="" (set EXTERNALS_DIR=%PCBUILD%\..\externals)
5+
if NOT DEFINED PCBUILD (set PCBUILD=%~dp0)
6+
if NOT DEFINED EXTERNALS_DIR (set EXTERNALS_DIR=%PCBUILD%\..\externals)
77

88
set DO_FETCH=true
99
set DO_CLEAN=false

0 commit comments

Comments
 (0)