msysGit: adjust for submodule layout
[git/jnareb-git.git] / share / GitMe / bootstrap.cmd
blob5cf870488f2ee859a1d181f5bd4a61a63315a785
1 @echo off
3 title Git for Windows (Dev) Installer
5 echo.
6 echo Installing Git development environment for Windows
7 echo.
9 set INSTALL_ROOT=%cd%
10 set INSTALL_DIR=%~dp0
12 %INSTALL_DIR%\bin\sh.exe /setup-msysgit.sh
13 if ERRORLEVEL 1 call :error Setting up MSys failed
15 if NOT EXIST %INSTALL_ROOT%\msys.bat call :error Unable to start MSys
16 %INSTALL_ROOT%\msys.bat
18 rem We never actually return here from msys.bat
20 goto :eof
22 rem ==============
24 :error
25 echo.
26 echo Error: %*
27 echo.
28 echo INSTALLATION ABORTED !!!
29 pause
30 exit 1