Commit 3d87189 1 parent 5f76d5d commit 3d87189 Copy full SHA for 3d87189
File tree 2 files changed +14
-14
lines changed
2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 2
2
setlocal EnableDelayedExpansion
3
3
4
4
if " %MINGW% " == " " (
5
- exit /b 1
5
+ exit /b 1
6
6
)
7
7
8
8
:: setting the paths
@@ -18,9 +18,9 @@ set tiff_dir_name=tiff-[0-9]*.[0-9]*.[0-9]*
18
18
19
19
for /f " delims=" %%a in ('dir " %PATH_TO_TOOLS% " /b /Ad ^ | findstr /r /C:" %MSYS2_DIR_NAME% " ') do set msys2_dir = %PATH_TO_TOOLS% %%a
20
20
if not exist " !msys2_dir! " (
21
- echo ERROR: msys2 not found. Exiting... >& 2
22
- echo . & pause
23
- exit /b 1
21
+ echo ERROR: msys2 not found. Exiting... >& 2
22
+ echo . & pause
23
+ exit /b 1
24
24
)
25
25
set MSYS2_SHELL = " !msys2_dir! \msys2_shell.cmd"
26
26
@@ -55,10 +55,10 @@ set dir=%~2
55
55
set arguments = %~3
56
56
57
57
if exist " %dir% " (
58
- call %MSYS2_SHELL% -%MINGW% -where " %dir% " -c " ./configure %arguments% "
58
+ call %MSYS2_SHELL% -%MINGW% -where " %dir% " -c " ./configure %arguments% "
59
59
) else (
60
- echo ERROR: %name% not found. >& 2
61
- pause
60
+ echo ERROR: %name% not found. >& 2
61
+ pause
62
62
)
63
63
64
64
endlocal
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ setlocal EnableDelayedExpansion
4
4
:: checking for administrative permissions
5
5
net session > nul 2 > nul
6
6
IF !ERRORLEVEL! neq 0 (
7
- echo ERROR: Administrative permissions required. Exiting... >& 2
8
- echo . & pause
9
- exit /b 2
7
+ echo ERROR: Administrative permissions required. Exiting... >& 2
8
+ echo . & pause
9
+ exit /b 2
10
10
)
11
11
12
12
:: setting the paths
@@ -17,9 +17,9 @@ set MSYS2_DIR_NAME=msys*
17
17
18
18
for /f " delims=" %%a in ('dir " %PATH_TO_TOOLS% " /b /Ad ^ | findstr /r /C:" %MSYS2_DIR_NAME% " ') do set msys2_dir = %PATH_TO_TOOLS% %%a
19
19
if not exist " !msys2_dir! " (
20
- echo ERROR: msys2 not found. Exiting... >& 2
21
- echo . & pause
22
- exit /b 1
20
+ echo ERROR: msys2 not found. Exiting... >& 2
21
+ echo . & pause
22
+ exit /b 1
23
23
)
24
24
25
25
call :configure_msys " !msys2_dir! " " 32" " %MINGW32_PATH% "
@@ -35,7 +35,7 @@ set msysPath=%~1
35
35
set version = %~2
36
36
set mingwPath = %~3
37
37
if exist " %mingwPath% " (
38
- set link = %msysPath% \mingw%version%
38
+ set link = %msysPath% \mingw%version%
39
39
call :folder_is_empty " !link! \bin"
40
40
if !ERRORLEVEL! equ 1 (
41
41
rd /s /q " !link! " > nul 2 > nul
You can’t perform that action at this time.
0 commit comments