]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
pjproject-bundled: Fix checksum verification when using cURL 99/4999/1
authorSean Bright <sean.bright@gmail.com>
Fri, 17 Feb 2017 23:06:47 +0000 (18:06 -0500)
committerSean Bright <sean.bright@gmail.com>
Fri, 17 Feb 2017 23:08:11 +0000 (17:08 -0600)
ASTERISK-26802 #close
Reported by: Michael L. Young

Change-Id: Iad293080f55d4d69ab615717a15211d916eed613

configure
configure.ac

index bc2d24a5c94ecb8fedff836666755b25cdfc658c..44c7e07cb6df8e4c06c2a5a5217d5abc25c5906c 100755 (executable)
--- a/configure
+++ b/configure
@@ -7954,7 +7954,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 -w \"%{url_effective}\n\""
+  DOWNLOAD_TO_STDOUT="${CURL} -L --progress-bar"
   DOWNLOAD_TIMEOUT='--max-time $(or $2,$1)'
 else
   # Extract the first word of "fetch", so it can be a program name with args.
index 035a30d8071bb2a9ebaac7b2517f8611ffefc419..74bc3322ca69e50b4101ebe317133d8b6776cd98 100644 (file)
@@ -297,7 +297,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 -w \"%{url_effective}\n\""
+  DOWNLOAD_TO_STDOUT="${CURL} -L --progress-bar"
   DOWNLOAD_TIMEOUT='--max-time $(or $2,$1)'
 else
   AC_PATH_PROG([FETCH], [fetch], [:])