# HG changeset patch # User "Yann E. MORIN" # Date 1320698428 -3600 # Node ID 3f1798d436da20c7f14b1374de14fccf54f61bf6 # Parent fabae8fa61875d7173a384f72a00017b2904c252 scripts: use wget, not curl It seems wget is more popular than curl. Signed-off-by: "Yann E. MORIN" diff -r fabae8fa6187 -r 3f1798d436da configure --- a/configure Mon Nov 14 18:53:14 2011 +0100 +++ b/configure Mon Nov 07 21:40:28 2011 +0100 @@ -496,7 +496,7 @@ ver='\(GNU libtool.*\) (2[[:digit:]]*\.|1\.6[[:digit:]]*\.|1\.5\.[2-9][[:digit:]]+)' \ err="'libtoolize' 1.5.26 or above was not found" has_or_abort prog=stat -has_or_abort prog="curl" +has_or_abort prog=wget has_or_abort prog=patch has_or_abort prog=tar has_or_abort prog=gzip diff -r fabae8fa6187 -r 3f1798d436da scripts/functions --- a/scripts/functions Mon Nov 14 18:53:14 2011 +0100 +++ b/scripts/functions Mon Nov 07 21:40:28 2011 +0100 @@ -457,11 +457,10 @@ # not easy to detect them, so force a global ${CT_CONNECT_TIMEOUT}-second # timeout. # For curl, no good progress indicator is available. So, be silent. - if CT_DoExecLog ALL curl --ftp-pasv \ - --retry 3 \ - --connect-timeout ${CT_CONNECT_TIMEOUT} \ - --location --fail --silent \ - --output "${tmp}" \ + if CT_DoExecLog ALL wget --passive-ftp --tries=3 -nc \ + --progress=dot:binary \ + -T ${CT_CONNECT_TIMEOUT} \ + -O "${tmp}" \ "${url}" then # Success, we got it, good!