From bb7c13273fbe2da0969e14ddfd61a46b78d79db2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Damien=20Th=C3=A9bault?= Date: Fri, 7 Dec 2018 12:41:08 +0000 Subject: [PATCH] support/download/dl-wrapper: fix urlencode option never being sent to backend MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Since commit 38de434123 ("download: fix file:// BR2_PRIMARY_SITE (download cache)"), the urlencode option is no longer passed to the download backend, because we use ${backend} instead of ${backend_urlencode}. We must get the urlencode information from backend_urlencode. Signed-off-by: Damien Thébault Reviewed-by: "Yann E. MORIN" [Thomas: rework commit log] Signed-off-by: Thomas Petazzoni --- support/download/dl-wrapper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/download/dl-wrapper b/support/download/dl-wrapper index bb70c98253..3315bd410e 100755 --- a/support/download/dl-wrapper +++ b/support/download/dl-wrapper @@ -93,7 +93,7 @@ main() { esac uri=${uri#*+} - urlencode=${backend#*|} + urlencode=${backend_urlencode#*|} # urlencode must be "urlencode" [ "${urlencode}" != "urlencode" ] && urlencode="" -- 2.30.2