mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:43:32 +03:00
appveyor: pass --proto-redir =https option
Follow-up to 500820682c #21757
Closes #22130
This commit is contained in:
parent
f7d4e11f4b
commit
d824266425
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ if [ -n "${CMAKE_GENERATOR:-}" ]; then
|
|||
fn="cmake-${CMAKE_VERSION}-win64-x64"
|
||||
fi
|
||||
curl --disable --fail --silent --show-error --connect-timeout 15 --max-time 60 --retry 3 --retry-connrefused \
|
||||
--location "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/${fn}.zip" --output pkg.bin
|
||||
--location --proto-redir =https "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/${fn}.zip" --output pkg.bin
|
||||
sha256sum pkg.bin && sha256sum pkg.bin | grep -qwF -- "${CMAKE_SHA256}" && 7z x -y pkg.bin >/dev/null && rm -f pkg.bin
|
||||
PATH="$PWD/${fn}/bin:$PATH"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue