From 7bb5294d6aeb40f26899d01c188d4ee9907524b8 Mon Sep 17 00:00:00 2001 From: CorpNewt Date: Sat, 11 May 2019 17:20:56 -0500 Subject: [PATCH] Fixes for dummy python.exe --- MakeInstall.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MakeInstall.bat b/MakeInstall.bat index 5edfb69..5d7fdeb 100644 --- a/MakeInstall.bat +++ b/MakeInstall.bat @@ -50,7 +50,7 @@ goto checkpy :checkpy REM Get python location -FOR /F "tokens=* USEBACKQ" %%F IN (`where python 2^> nul`) DO ( +FOR /F "tokens=* USEBACKQ" %%F IN (`python -V 2^> nul`) DO ( SET "python=%%F" ) @@ -200,8 +200,8 @@ exit /b REM Python found cls if "%*"=="" ( - "!python!" "!thisDir!!script_name!" + python "!thisDir!!script_name!" ) else ( - "!python!" "!thisDir!!script_name!" %* + python "!thisDir!!script_name!" %* ) goto :EOF