★ wanayoo — archive 1999 https://github.com/nodejs/node/commit/0b81054d17Nouvelle 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 codebytere committed Aug 26, 2018
1 parent 3283186 commit 0b81054d17726c11e253416cd2bc240c38eb33ea
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 0b81054

Please sign in to comment.
You can’t perform that action at this time.