mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2025-01-22 10:04:12 -05:00
Update MakeInstall.bat
This commit is contained in:
parent
6f07885e79
commit
7607f7484a
1 changed files with 13 additions and 2 deletions
|
@ -28,9 +28,20 @@ exit /B
|
|||
setlocal enableDelayedExpansion
|
||||
|
||||
REM Setup initial vars
|
||||
set "script_name=MakeInstall.py"
|
||||
set "script_name=%~n0.py"
|
||||
set "thisDir=%~dp0"
|
||||
|
||||
REM Check for our script first
|
||||
if not exist "!thisDir!\!script_name!" (
|
||||
echo Could not find !script_name!.
|
||||
echo Please make sure to run this script from the same directory
|
||||
echo as !script_name!.
|
||||
echo.
|
||||
echo Press [enter] to quit.
|
||||
pause > nul
|
||||
exit /b
|
||||
)
|
||||
|
||||
REM Get python location
|
||||
FOR /F "tokens=* USEBACKQ" %%F IN (`where python 2^> nul`) DO (
|
||||
SET "python=%%F"
|
||||
|
|
Loading…
Reference in a new issue