This commit is contained in:
Yann E. MORIN" 2010-01-10 17:43:23 +01:00
commit a2164e86c5

View File

@ -343,8 +343,8 @@ CT_DoGetFileCurl() {
# Note: comments about wget method (above) are also valid here # Note: comments about wget method (above) are also valid here
# Plus: no good progress indicator is available with curl, # Plus: no good progress indicator is available with curl,
# so, be silent. # so, be silent.
CT_DoExecLog ALL curl -s --ftp-pasv -O --retry 3 "$1" --connect-timeout ${CT_CONNECT_TIMEOUT} \ CT_DoExecLog ALL curl -s --ftp-pasv -O --retry 3 "$1" --connect-timeout ${CT_CONNECT_TIMEOUT} -L -f \
|| CT_DoExecLog ALL curl -s -O --retry 3 "$1" --connect-timeout ${CT_CONNECT_TIMEOUT} \ || CT_DoExecLog ALL curl -s -O --retry 3 "$1" --connect-timeout ${CT_CONNECT_TIMEOUT} -L -f \
|| true || true
} }