1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

Merge branch 'secure-deps' into 'master'

Verify certificates when downloading dependencies

See merge request OpenMW/openmw!278
This commit is contained in:
AnyOldName3 2020-08-04 12:06:36 +00:00
commit c72fda7ecc

View File

@ -258,10 +258,10 @@ download() {
if [ -z $VERBOSE ]; then
RET=0
curl --silent --retry 10 -kLy 5 -o $FILE $URL || RET=$?
curl --silent --retry 10 -Ly 5 -o $FILE $URL || RET=$?
else
RET=0
curl --retry 10 -kLy 5 -o $FILE $URL || RET=$?
curl --retry 10 -Ly 5 -o $FILE $URL || RET=$?
fi
if [ $RET -ne 0 ]; then