Merge "configure: Don't use the progress bar with curl when downloading to stdout"
authorJoshua Colp <jcolp@digium.com>
Wed, 15 Mar 2017 18:01:16 +0000 (13:01 -0500)
committerGerrit Code Review <gerrit2@gerrit.digium.api>
Wed, 15 Mar 2017 18:01:16 +0000 (13:01 -0500)
configure
configure.ac

index 893f107..078020c 100755 (executable)
--- a/configure
+++ b/configure
@@ -7940,7 +7940,7 @@ if test "${WGET}" != ":" ; then
   DOWNLOAD_TIMEOUT='--timeout=$1'
 else if test "${CURL}" != ":" ; then
   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)'
 else
   # Extract the first word of "fetch", so it can be a program name with args.
index e714c54..890f32d 100644 (file)
@@ -318,7 +318,7 @@ if test "${WGET}" != ":" ; then
   DOWNLOAD_TIMEOUT='--timeout=$1'
 else if test "${CURL}" != ":" ; then
   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)'
 else
   AC_PATH_PROG([FETCH], [fetch], [:])