From: Uwe Köcher Date: Fri, 30 Oct 2015 15:29:35 +0000 (+0100) Subject: candi: allow insecure ssl downloads for curl X-Git-Tag: v0.7~5^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c9c534d1546336959524174f9234e019cb7a2e0;p=candi.git candi: allow insecure ssl downloads for curl --- diff --git a/candi.sh b/candi.sh index bcb0a9d..d1977ed 100755 --- a/candi.sh +++ b/candi.sh @@ -216,7 +216,7 @@ download_archive () { # Download. # If curl or wget is failing, continue this loop for trying an other mirror. if [ ${DOWNLOADER} = "curl" ] && [ ${CURL_DOWNLOADER_AVAILABLE} = "true" ] ; then - curl -O ${url} || continue + curl -k -O ${url} || continue else wget --no-check-certificate ${url} -O ${ARCHIVE_FILE} || continue fi