]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
pjproject-bundled: Fix checksum verification when using cURL 98/4998/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:06:47 +0000 (18:06 -0500)
ASTERISK-26802 #close
Reported by: Michael L. Young

Change-Id: Iad293080f55d4d69ab615717a15211d916eed613

configure
configure.ac

index acb5c993ba83a0f12c82857aea3e465501862dfc..dbd5afa3b29491963c67225e0a9014fc7746fa3a 100755 (executable)
--- a/configure
+++ b/configure
@@ -7879,7 +7879,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 ceb50eb31e2ed5a20dc75c62eac61e40587c04ab..1d3b8a5546fb9d51b2eb83af7f55175eab8182ed 100644 (file)
@@ -298,7 +298,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], [:])