mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2024-09-20 01:30:33 +00:00
Fixes for dummy python.exe
This commit is contained in:
parent
e183a6d9e4
commit
8f2e47aaa4
1 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@ goto checkpy
|
||||||
|
|
||||||
:checkpy
|
:checkpy
|
||||||
REM Get python location
|
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"
|
SET "python=%%F"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -174,8 +174,8 @@ exit /b
|
||||||
REM Python found
|
REM Python found
|
||||||
cls
|
cls
|
||||||
if "%*"=="" (
|
if "%*"=="" (
|
||||||
"!python!" "!thisDir!!script_name!"
|
python "!thisDir!!script_name!"
|
||||||
) else (
|
) else (
|
||||||
"!python!" "!thisDir!!script_name!" %*
|
python "!thisDir!!script_name!" %*
|
||||||
)
|
)
|
||||||
goto :EOF
|
goto :EOF
|
||||||
|
|
Loading…
Reference in a new issue