diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-01-01 12:27:06 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-01-01 12:27:06 +0100 |
commit | b9eba0996aa7a8f79e302329be76aeaf9cf7294a (patch) | |
tree | 063c06e720ae148ed149d4d5152aac56054fef88 /scripts/functions | |
parent | 8a84cb332d6af456e6ab8289b428ccd4cb41ba3a (diff) | |
download | crosstool-ng-b9eba0996aa7a8f79e302329be76aeaf9cf7294a.tar.gz crosstool-ng-b9eba0996aa7a8f79e302329be76aeaf9cf7294a.tar.bz2 crosstool-ng-b9eba0996aa7a8f79e302329be76aeaf9cf7294a.zip |
scripts/functions: fix using Aria2
Latest aria2 no longer recognise the --retry-wait option.
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/functions b/scripts/functions index fbf86f3b..caaa8ab8 100644 --- a/scripts/functions +++ b/scripts/functions @@ -354,8 +354,8 @@ CT_DoGetFileAria2() { # Note: comments about curl method (above) are also valid here # Plus: default progress indicator is a single line, so use verbose log # so that the CT-NG's ouput is 'live'. - CT_DoExecLog ALL aria2c -l - -s ${CT_DOWNLOAD_MAX_CHUNKS} -m 3 --retry-wait 5 -t ${CT_CONNECT_TIMEOUT} -p "$1" \ - || CT_DoExecLog ALL aria2c -l - -s ${CT_DOWNLOAD_MAX_CHUNKS} -m 3 --retry-wait 5 -t ${CT_CONNECT_TIMEOUT} "$1" \ + CT_DoExecLog ALL aria2c -l - -s ${CT_DOWNLOAD_MAX_CHUNKS} -m 3 -t ${CT_CONNECT_TIMEOUT} -p "$1" \ + || CT_DoExecLog ALL aria2c -l - -s ${CT_DOWNLOAD_MAX_CHUNKS} -m 3 -t ${CT_CONNECT_TIMEOUT} "$1" \ || true } |