File tree 1 file changed +11
-6
lines changed
1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 17
17
:INSTALL_RUNTIME
18
18
@ SET /A counter += 1
19
19
@ IF %counter% GEQ 5 (
20
- @ ECHO " Could not install msys2-runtime"
20
+ @ ECHO Could not install msys2-runtime
21
21
@ PAUSE
22
22
@ EXIT 1
23
23
)
33
33
:INSTALL_PACMAN
34
34
@ SET /A counter += 1
35
35
@ IF %counter% GEQ 5 (
36
- @ ECHO " Could not install pacman"
36
+ @ ECHO Could not install pacman
37
37
@ PAUSE
38
38
@ EXIT 1
39
39
)
47
47
:INSTALL_REST
48
48
@ SET /A counter += 1
49
49
@ IF %counter% GEQ 5 (
50
- @ ECHO " Could not install the remaining packages"
50
+ @ ECHO Could not install the remaining packages
51
51
@ PAUSE
52
52
@ EXIT 1
53
53
)
67
67
68
68
@ REM Avoid overlapping address ranges
69
69
@ IF MINGW32 == %MSYSTEM% (
70
- ECHO " Auto-rebasing .dll files"
70
+ ECHO Auto-rebasing .dll files
71
71
CALL %cwd% \autorebase.bat
72
72
)
73
73
74
74
@ 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" '
76
78
77
79
@ 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"
79
84
80
85
@ IF ERRORLEVEL 1 PAUSE
You can’t perform that action at this time.
0 commit comments