[Asterisk-code-review] configure.ac: Remove curl -w option from DOWNLOAD (asterisk[16])

George Joseph asteriskteam at digium.com
Fri Mar 25 09:39:38 CDT 2022


George Joseph has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/18258 )


Change subject: configure.ac:  Remove curl -w option from DOWNLOAD
......................................................................

configure.ac:  Remove curl -w option from DOWNLOAD

configure.ac was setting
DOWNLOAD="/usr/bin/curl -O --progress-bar -w \"%{url_effective}\n\""
and the '\n' was confusing build_tools/get_sourceable_makeopts.
Removing the unneeded '-w \"%{url_effective}\n\"' fixes things.

ASTERISK-29986
Reported by: Stefan Ruijsenaars

Change-Id: Idf2a90902228c2558daa5be7a4f8327556099cd2
---
M configure
M configure.ac
2 files changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/58/18258/1

diff --git a/configure b/configure
index 85a0ae9..a9f49ad 100755
--- a/configure
+++ b/configure
@@ -7789,7 +7789,7 @@
   DOWNLOAD_TO_STDOUT="${WGET} -q -O-"
   DOWNLOAD_TIMEOUT='--timeout=$1'
 elif test "x${CURL}" != "x:"; then
-  DOWNLOAD="${CURL} -O --progress-bar -w \"%{url_effective}\n\""
+  DOWNLOAD="${CURL} -O --progress-bar"
   DOWNLOAD_TO_STDOUT="${CURL} -Ls"
   DOWNLOAD_TIMEOUT='--max-time $(or $2,$1)'
 else
diff --git a/configure.ac b/configure.ac
index e7c00e4..682a1fe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -296,7 +296,7 @@
   DOWNLOAD_TO_STDOUT="${WGET} -q -O-"
   DOWNLOAD_TIMEOUT='--timeout=$1'
 elif test "x${CURL}" != "x:"; then
-  DOWNLOAD="${CURL} -O --progress-bar -w \"%{url_effective}\n\""
+  DOWNLOAD="${CURL} -O --progress-bar"
   DOWNLOAD_TO_STDOUT="${CURL} -Ls"
   DOWNLOAD_TIMEOUT='--max-time $(or $2,$1)'
 else

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/18258
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: Idf2a90902228c2558daa5be7a4f8327556099cd2
Gerrit-Change-Number: 18258
Gerrit-PatchSet: 1
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220325/40dc2562/attachment.html>


More information about the asterisk-code-review mailing list