★ wanayoo — archive 1999 https://github.com/nodejs/node/commit/e37c6182e5Nouvelle recherche | Portail wanayoo
Skip to content
Permalink
Browse files
build: fix Python detection when depot_tools are in PATH in Windows
PR-URL: #22539
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
  • Loading branch information
guybedford authored and rvagg committed Nov 28, 2018
1 parent 7463a7f commit e37c6182e556b415877c69be8bd910255f064d10
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/msvs/find_python.cmd
@@ -2,7 +2,7 @@
echo Looking for Python 2.x
SETLOCAL
:: If python.exe is in %Path%, just validate
FOR /F "delims=" %%a IN ('where python 2^> NUL') DO (
FOR /F "delims=" %%a IN ('where python.exe 2^> NUL') DO (
SET need_path=0
SET p=%%~dpa
IF NOT ERRORLEVEL 1 GOTO :validate

0 comments on commit e37c618

Please sign in to comment.