diff options
author | Damien Thébault <damien.thebault@vitec.com> | 2018-12-07 12:41:08 +0000 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-12-09 17:16:04 +0100 |
commit | bb7c13273fbe2da0969e14ddfd61a46b78d79db2 (patch) | |
tree | 31a167e42c90effb911623690ceabd28bdbd8e55 /support | |
parent | 57b3e571272b12a22b06b8687aed3fbf82e9f6a1 (diff) | |
download | buildroot-bb7c13273fbe2da0969e14ddfd61a46b78d79db2.tar.gz buildroot-bb7c13273fbe2da0969e14ddfd61a46b78d79db2.zip |
support/download/dl-wrapper: fix urlencode option never being sent to backend
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 <damien.thebault@vitec.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: rework commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'support')
-rwxr-xr-x | support/download/dl-wrapper | 2 |
1 files changed, 1 insertions, 1 deletions
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="" |