mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 18:56:31 +00:00
scripts/functions: make aria2 less verbose when downloading
This commit is contained in:
parent
a9cecdaee9
commit
9b5d316acc
@ -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 -t ${CT_CONNECT_TIMEOUT} -p "$1" \
|
||||
|| CT_DoExecLog ALL aria2c -l - -s ${CT_DOWNLOAD_MAX_CHUNKS} -m 3 -t ${CT_CONNECT_TIMEOUT} "$1" \
|
||||
CT_DoExecLog ALL aria2c --summary-interval=1 -s ${CT_DOWNLOAD_MAX_CHUNKS} -m 3 -t ${CT_CONNECT_TIMEOUT} -p "$1" \
|
||||
|| CT_DoExecLog ALL aria2c --summary-interval=1 -s ${CT_DOWNLOAD_MAX_CHUNKS} -m 3 -t ${CT_CONNECT_TIMEOUT} "$1" \
|
||||
|| rm -f "${1##*/}"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user