|
16 | 16 | @SET /A counter=0 |
17 | 17 | :INSTALL_RUNTIME |
18 | 18 | @SET /A counter+=1 |
19 | | -@IF %counter% GEQ 5 ( |
| 19 | +@IF %counter% GEQ 5 @( |
20 | 20 | @ECHO Could not install msys2-runtime |
21 | 21 | @PAUSE |
22 | 22 | @EXIT 1 |
23 | 23 | ) |
24 | 24 |
|
25 | 25 | @REM Maybe we need a proxy? |
26 | | -@IF %counter% GEQ 2 ( |
| 26 | +@IF %counter% GEQ 2 @( |
27 | 27 | @ECHO. |
28 | 28 | @ECHO There was a problem accessing the MSys2 repositories |
29 | 29 | @ECHO If your setup requires an HTTP proxy to access the web, |
|
32 | 32 | @SET /p proxy= "HTTP proxy: " |
33 | 33 | ) |
34 | 34 | @REM Check the proxy variable here because of delayed expansion |
35 | | -@IF NOT "%proxy%" == "" ( |
| 35 | +@IF NOT "%proxy%" == "" @( |
36 | 36 | @SET http_proxy=%proxy% |
37 | 37 | @SET https_proxy=%proxy% |
38 | 38 | ) |
|
47 | 47 | @SET /A counter=0 |
48 | 48 | :INSTALL_PACMAN |
49 | 49 | @SET /A counter+=1 |
50 | | -@IF %counter% GEQ 5 ( |
| 50 | +@IF %counter% GEQ 5 @( |
51 | 51 | @ECHO Could not install pacman |
52 | 52 | @PAUSE |
53 | 53 | @EXIT 1 |
|
61 | 61 | @SET /A counter=0 |
62 | 62 | :INSTALL_REST |
63 | 63 | @SET /A counter+=1 |
64 | | -@IF %counter% GEQ 5 ( |
| 64 | +@IF %counter% GEQ 5 @( |
65 | 65 | @ECHO Could not install the remaining packages |
66 | 66 | @PAUSE |
67 | 67 | @EXIT 1 |
|
82 | 82 | @IF ERRORLEVEL 1 GOTO INSTALL_REST |
83 | 83 |
|
84 | 84 | @REM Avoid overlapping address ranges |
85 | | -@IF MINGW32 == %MSYSTEM% ( |
| 85 | +@IF MINGW32 == %MSYSTEM% @( |
86 | 86 | ECHO Auto-rebasing .dll files |
87 | 87 | CALL %cwd%\autorebase.bat |
88 | 88 | ) |
89 | 89 |
|
90 | 90 | @REM If an HTTP proxy is requires, configure it for Git Bash sessions, |
91 | 91 | @REM but only if the environment variable was not already set globally |
92 | | -@IF DEFINED proxy ( |
| 92 | +@IF DEFINED proxy @( |
93 | 93 | @ECHO http_proxy=%proxy% > etc\profile.d\proxy.sh |
94 | 94 | @ECHO https_proxy=%proxy% >> etc\profile.d\proxy.sh |
95 | 95 | @ECHO export http_proxy https_proxy >> etc\profile.d\proxy.sh |
|
102 | 102 | @MKDIR %cwd%\dev\shm 2> NUL |
103 | 103 | @MKDIR %cwd%\dev\mqueue 2> NUL |
104 | 104 |
|
105 | | -@IF NOT DEFINED JENKINS_URL ( |
| 105 | +@IF NOT DEFINED JENKINS_URL @( |
106 | 106 | @REM Install shortcut on the desktop |
107 | 107 | @ECHO. |
108 | 108 | @ECHO Installing the 'Git SDK @@BITNESS@@-bit' shortcut on the Desktop |
|
0 commit comments