mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-25 11:24:54 +02:00
20 lines
463 B
Batchfile
20 lines
463 B
Batchfile
set BASH="%PROGRAMFILES%\Git\bin\bash.exe"
|
|
if exist %BASH% goto EXECUTE
|
|
|
|
set BASH="%PROGRAMFILES(x86)%\Git\bin\bash.exe"
|
|
if exist %BASH% goto EXECUTE
|
|
|
|
set BASH="%ProgramW6432%\Git\bin\bash.exe"
|
|
if exist %BASH% goto EXECUTE
|
|
|
|
set BASH="%USERPROFILE%\scoop\apps\git\current\bin\bash.exe"
|
|
if exist %BASH% goto EXECUTE
|
|
|
|
for /F "tokens=*" %%g in ('where bash') do (SET BASH=%%g)
|
|
if exist %BASH% goto EXECUTE
|
|
|
|
echo Failed to find bash.exe
|
|
echo %BASH%
|
|
exit /b 1
|
|
|
|
:EXECUTE |