From 8f2e47aaa47214b04a417a99cfc2c69b7c5cfdee Mon Sep 17 00:00:00 2001 From: CorpNewt Date: Sat, 11 May 2019 17:20:23 -0500 Subject: [PATCH] Fixes for dummy python.exe --- gibMacOS.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gibMacOS.bat b/gibMacOS.bat index ca35bfd..d721c77 100644 --- a/gibMacOS.bat +++ b/gibMacOS.bat @@ -24,7 +24,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" ) @@ -174,8 +174,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