File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 1717:INSTALL_RUNTIME
1818@ SET /A counter += 1
1919@ IF %counter% GEQ 5 (
20- @ ECHO " Could not install msys2-runtime"
20+ @ ECHO Could not install msys2-runtime
2121 @ PAUSE
2222 @ EXIT 1
2323)
3333:INSTALL_PACMAN
3434@ SET /A counter += 1
3535@ IF %counter% GEQ 5 (
36- @ ECHO " Could not install pacman"
36+ @ ECHO Could not install pacman
3737 @ PAUSE
3838 @ EXIT 1
3939)
4747:INSTALL_REST
4848@ SET /A counter += 1
4949@ IF %counter% GEQ 5 (
50- @ ECHO " Could not install the remaining packages"
50+ @ ECHO Could not install the remaining packages
5151 @ PAUSE
5252 @ EXIT 1
5353)
6767
6868@ REM Avoid overlapping address ranges
6969@ IF MINGW32 == %MSYSTEM% (
70- ECHO " Auto-rebasing .dll files"
70+ ECHO Auto-rebasing .dll files
7171 CALL %cwd% \autorebase.bat
7272)
7373
7474@ REM Install shortcut on the desktop
75- @ bash --login -c 'SHORTCUT=" $HOME/Desktop/Git SDK @@BITNESS@@-bit.lnk" ; test -f " $SHORTCUT" ^ |^ | create-shortcut.exe --icon-file /msys2.ico --work-dir / /mingw@@ BITNESS@@ _shell.bat " $SHORTCUT" '
75+ @ ECHO .
76+ @ ECHO Installing the 'Git SDK @@BITNESS@@-bit' shortcut on the Desktop
77+ @ bash --login -c 'SHORTCUT=" $HOME/Desktop/Git SDK @@BITNESS@@-bit.lnk" ; test -f " $SHORTCUT" ^ |^ | create-shortcut.exe --icon-file /msys2.ico --work-dir / /git-bash.exe " $SHORTCUT" '
7678
7779@ REM now clone the Git sources, build it, and start an interactive shell
78- @ mintty -i /msys2.ico bash --login -c " mkdir -p /usr/src && cd /usr/src && for project in MINGW-packages MSYS2-packages build-extra; do mkdir -p $project && (cd $project && git init && git config core.autocrlf false && git remote add origin https://github.com/git-for-windows/$project); done; git clone -b @@GIT_BRANCH@@ -c core.autocrlf=false https://github.com/git-for-windows/git && cd git && make install; bash --login -i"
80+ @ ECHO .
81+ @ ECHO Running Git Bash to build Git and run an interactive Bash session
82+ @ ECHO This window will close automatically once that session is over
83+ @ mintty -i /msys2.ico bash --login -c " test -s /mingw@@BITNESS@@/ssl/certs/ca-bundle.crt || pacman -S --noconfirm mingw-w64-@@ARCH@@-ca-certificates; mkdir -p /usr/src && cd /usr/src && for project in MINGW-packages MSYS2-packages build-extra; do mkdir -p $project && (cd $project && git init && git config core.autocrlf false && git remote add origin https://github.com/git-for-windows/$project); done; git clone -b @@GIT_BRANCH@@ -c core.autocrlf=false https://github.com/git-for-windows/git && cd git && make install; bash --login -i"
7984
8085@ IF ERRORLEVEL 1 PAUSE
You can’t perform that action at this time.
0 commit comments