|
2 | 2 |
|
3 | 3 | if /i "%APPVEYOR%%GITHUB_ACTIONS%" equ "True" (
|
4 | 4 | rem rmdir takes several minutes for large directories, rename instead
|
5 |
| - rem rmdir /s /q C:\cygwin >NUL 2>NUL |
6 |
| - rename C:\cygwin C:\trash-cygwin |
7 |
| - if %errorlevel% neq 0 exit /b 3 |
8 |
| - rem rmdir /s /q C:\cygwin64 >NUL 2>NUL |
9 |
| - rename C:\cygwin64 C:\trash-cygwin64 |
10 |
| - if %errorlevel% neq 0 exit /b 3 |
11 |
| - rem rmdir /s /q C:\mingw >NUL 2>NUL |
12 |
| - rename C:\mingw C:\trash-mingw |
13 |
| - if %errorlevel% neq 0 exit /b 3 |
14 |
| - rem rmdir /s /q C:\mingw-w64 >NUL 2>NUL |
15 |
| - rename C:\mingw-w64 C:\trash-mingw-w64 |
16 |
| - if %errorlevel% neq 0 exit /b 3 |
17 |
| - rem rmdir /s /q C:\msys64 >NUL 2>NUL |
18 |
| - rename C:\msys64 C:\trash-msys64 |
19 |
| - if %errorlevel% neq 0 exit /b 3 |
| 5 | + if /i "%APPVEYOR%" equ "True" ( |
| 6 | + rmdir /s /q C:\cygwin >NUL 2>NUL |
| 7 | + if %errorlevel% neq 0 exit /b 3 |
| 8 | + rmdir /s /q C:\cygwin64 >NUL 2>NUL |
| 9 | + if %errorlevel% neq 0 exit /b 3 |
| 10 | + rmdir /s /q C:\mingw >NUL 2>NUL |
| 11 | + if %errorlevel% neq 0 exit /b 3 |
| 12 | + rmdir /s /q C:\mingw-w64 >NUL 2>NUL |
| 13 | + if %errorlevel% neq 0 exit /b 3 |
| 14 | + rmdir /s /q C:\msys64 >NUL 2>NUL |
| 15 | + if %errorlevel% neq 0 exit /b 3 |
| 16 | + ) else ( |
| 17 | + rename C:\cygwin C:\trash-cygwin |
| 18 | + if %errorlevel% neq 0 exit /b 3 |
| 19 | + rename C:\cygwin64 C:\trash-cygwin64 |
| 20 | + if %errorlevel% neq 0 exit /b 3 |
| 21 | + rename C:\mingw C:\trash-mingw |
| 22 | + if %errorlevel% neq 0 exit /b 3 |
| 23 | + rename C:\mingw-w64 C:\trash-mingw-w64 |
| 24 | + if %errorlevel% neq 0 exit /b 3 |
| 25 | + rename C:\msys64 C:\trash-msys64 |
| 26 | + if %errorlevel% neq 0 exit /b 3 |
| 27 | + ) |
20 | 28 | rmdir /s /q c:\OpenSSL-Win32 >NUL 2>NUL
|
21 | 29 | if %errorlevel% neq 0 exit /b 3
|
22 | 30 | rmdir /s /q c:\OpenSSL-Win64 >NUL 2>NUL
|
|
0 commit comments