1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-12-22 04:02:04 +03:00

Appveyor: download SSL only if it does not exist

This commit is contained in:
bel
2015-08-07 20:55:30 +02:00
parent b5e339537b
commit 386cf41afa

View File

@@ -61,9 +61,9 @@ install:
- if exist "%mingw_log_folder%" @for /f %%f in ('dir /b /oD /tc "%mingw_log_folder%"') do @set "mingw_log_file=%mingw_log_folder%\%%f"
- if exist "%mingw_log_file%" powershell Push-AppveyorArtifact "%mingw_log_file%" -FileName mingw-download.log
# Get OpenSSL
- md c:\ssl\
- curl http://slproweb.com/download/Win32OpenSSL-1_0_2d.exe -o C:\ssl\Win32OpenSSL.exe
- curl http://slproweb.com/download/Win64OpenSSL-1_0_2d.exe -o C:\ssl\Win64OpenSSL.exe
- if not exist C:\ssl\ (md C:\ssl\)
- if not exist C:\ssl\Win32OpenSSL.exe (curl http://slproweb.com/download/Win32OpenSSL-1_0_2d.exe -o C:\ssl\Win32OpenSSL.exe)
- if not exist C:\ssl\Win32OpenSSL.exe (curl http://slproweb.com/download/Win64OpenSSL-1_0_2d.exe -o C:\ssl\Win64OpenSSL.exe)
- C:\ssl\Win32OpenSSL.exe /SILENT /LOG="C:\ssl\install32.log"
- C:\ssl\Win64OpenSSL.exe /SILENT /LOG="C:\ssl\install64.log"