Skip to content

Commit 3d87189

Browse files
committed
~ Replace tabs with 2 spaces
1 parent 5f76d5d commit 3d87189

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

configure_libs.bat

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
setlocal EnableDelayedExpansion
33

44
if "%MINGW%"=="" (
5-
exit /b 1
5+
exit /b 1
66
)
77

88
:: setting the paths
@@ -18,9 +18,9 @@ set tiff_dir_name=tiff-[0-9]*.[0-9]*.[0-9]*
1818

1919
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
2020
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
2424
)
2525
set MSYS2_SHELL="!msys2_dir!\msys2_shell.cmd"
2626

@@ -55,10 +55,10 @@ set dir=%~2
5555
set arguments=%~3
5656

5757
if exist "%dir%" (
58-
call %MSYS2_SHELL% -%MINGW% -where "%dir%" -c "./configure %arguments%"
58+
call %MSYS2_SHELL% -%MINGW% -where "%dir%" -c "./configure %arguments%"
5959
) else (
60-
echo ERROR: %name% not found. >&2
61-
pause
60+
echo ERROR: %name% not found. >&2
61+
pause
6262
)
6363

6464
endlocal

configure_msys.bat

+7-7
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ setlocal EnableDelayedExpansion
44
:: checking for administrative permissions
55
net session >nul 2>nul
66
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
1010
)
1111

1212
:: setting the paths
@@ -17,9 +17,9 @@ set MSYS2_DIR_NAME=msys*
1717

1818
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
1919
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
2323
)
2424

2525
call :configure_msys "!msys2_dir!" "32" "%MINGW32_PATH%"
@@ -35,7 +35,7 @@ set msysPath=%~1
3535
set version=%~2
3636
set mingwPath=%~3
3737
if exist "%mingwPath%" (
38-
set link=%msysPath%\mingw%version%
38+
set link=%msysPath%\mingw%version%
3939
call :folder_is_empty "!link!\bin"
4040
if !ERRORLEVEL! equ 1 (
4141
rd /s /q "!link!" >nul 2>nul

0 commit comments

Comments
 (0)