mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 00:04:53 +00:00
Merge "configure: Don't use the progress bar with curl when downloading to stdout" into 13
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -7901,7 +7901,7 @@ if test "${WGET}" != ":" ; then
|
|||||||
DOWNLOAD_TIMEOUT='--timeout=$1'
|
DOWNLOAD_TIMEOUT='--timeout=$1'
|
||||||
else if test "${CURL}" != ":" ; then
|
else if test "${CURL}" != ":" ; then
|
||||||
DOWNLOAD="${CURL} -O --progress-bar -w \"%{url_effective}\n\""
|
DOWNLOAD="${CURL} -O --progress-bar -w \"%{url_effective}\n\""
|
||||||
DOWNLOAD_TO_STDOUT="${CURL} -L --progress-bar"
|
DOWNLOAD_TO_STDOUT="${CURL} -Ls"
|
||||||
DOWNLOAD_TIMEOUT='--max-time $(or $2,$1)'
|
DOWNLOAD_TIMEOUT='--max-time $(or $2,$1)'
|
||||||
else
|
else
|
||||||
# Extract the first word of "fetch", so it can be a program name with args.
|
# Extract the first word of "fetch", so it can be a program name with args.
|
||||||
|
@@ -319,7 +319,7 @@ if test "${WGET}" != ":" ; then
|
|||||||
DOWNLOAD_TIMEOUT='--timeout=$1'
|
DOWNLOAD_TIMEOUT='--timeout=$1'
|
||||||
else if test "${CURL}" != ":" ; then
|
else if test "${CURL}" != ":" ; then
|
||||||
DOWNLOAD="${CURL} -O --progress-bar -w \"%{url_effective}\n\""
|
DOWNLOAD="${CURL} -O --progress-bar -w \"%{url_effective}\n\""
|
||||||
DOWNLOAD_TO_STDOUT="${CURL} -L --progress-bar"
|
DOWNLOAD_TO_STDOUT="${CURL} -Ls"
|
||||||
DOWNLOAD_TIMEOUT='--max-time $(or $2,$1)'
|
DOWNLOAD_TIMEOUT='--max-time $(or $2,$1)'
|
||||||
else
|
else
|
||||||
AC_PATH_PROG([FETCH], [fetch], [:])
|
AC_PATH_PROG([FETCH], [fetch], [:])
|
||||||
|
Reference in New Issue
Block a user