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

George Joseph asteriskteam at digium.com
Fri Mar 25 09:42:18 CDT 2022


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


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/68/18268/1

diff --git a/configure b/configure
index 9c3804b..f6ae7b7 100755
--- a/configure
+++ b/configure
@@ -7706,7 +7706,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 5729727..88f6755 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/+/18268
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Idf2a90902228c2558daa5be7a4f8327556099cd2
Gerrit-Change-Number: 18268
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/a8aa582a/attachment-0001.html>


More information about the asterisk-code-review mailing list