From 0cf077a209596f34a109b641c90d85a87876f605 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Wed, 11 Apr 2018 09:31:21 +0200 Subject: [PATCH] support/download/dl-wrapper: fix passing remaining options to helper scripts When calling the backend-specific helper scripts, the remaining options are in ${@}. However, in order to let the helper script know that those remaining options should not be parsed, but instead passed as-is to the download tool, they must be separated from the main options by "--". Without this, packages that use _DL_OPTS, such as the amd-catalyst package, cannot download their tarball anymore. Fixes: http://autobuild.buildroot.net/results/de818f6e4c8e63d5e8a49c445d10c34eccc40410/ Signed-off-by: Thomas Petazzoni Tested-by: "Yann E. MORIN" Acked-by: "Yann E. MORIN" 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 38430738eb..3d2118a4ef 100755 --- a/support/download/dl-wrapper +++ b/support/download/dl-wrapper @@ -129,7 +129,7 @@ main() { -f "${filename}" \ -u "${uri}" \ -o "${tmpf}" \ - ${quiet} ${recurse} "${@}" + ${quiet} ${recurse} -- "${@}" then # cd back to keep path coherence cd "${OLDPWD}" -- 2.30.2