Allow to download dependencies from insecure connections

SSL connections done by Curl will be attempted to be made secure by
using the CA certificated bundle but when the connection can be
established but not secured, Curl will not fail.

Change-Id: Id2fb1e3b65aed3e3334b2db302d028181ebd1e81
This commit is contained in:
Hugo Arès
2014-06-02 16:39:00 -04:00
parent f0ed6d5ac7
commit 91f3a7456f

View File

@@ -115,7 +115,7 @@ if not path.exists(cache_ent):
print('Download %s' % src_url, file=stderr)
try:
check_call(['curl', '--proxy-anyauth', '-sfo', cache_ent, src_url])
check_call(['curl', '--proxy-anyauth', '-ksfo', cache_ent, src_url])
except OSError as err:
print('could not invoke curl: %s\nis curl installed?' % err, file=stderr)
exit(1)