Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup: nits
  • Loading branch information
bzoz committed Feb 19, 2018
commit 9ed2399b40e0e392beeabef3cfd584e44e993f83
2 changes: 1 addition & 1 deletion tools/msvs/find_python.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ EXIT /B

:: Query registry sub-tree for InstallPath
:find-key
FOR /F "delims=" %%a IN ('REG QUERY %1 /s ^| findstr "2." ^| findstr InstallPath') DO IF NOT ERRORLEVEL 1 CALL :find-path %%a
FOR /F "delims=" %%a IN ('REG QUERY %1 /s 2> NUL ^| findstr "2." ^| findstr InstallPath') DO IF NOT ERRORLEVEL 1 CALL :find-path %%a
EXIT /B

:: Parse the value of %1 as the path for python.exe
Expand Down
4 changes: 2 additions & 2 deletions vcbuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ if "%target%"=="Clean" rmdir /S /Q %~dp0deps\icu
:no-depsicu

echo Looking for Python 2.x
call tools\msvs\find_python.cmd > NUL 2> NUL
if errorlevel 1 echo Could not find Python installation & goto :exit
call tools\msvs\find_python.cmd
if errorlevel 1 echo Could not find Python & goto :exit

call :getnodeversion || exit /b 1

Expand Down