support/download/dl-wrapper: fix passing remaining options to helper scripts
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 11 Apr 2018 07:31:21 +0000 (09:31 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 12 Apr 2018 20:53:55 +0000 (22:53 +0200)
commit0cf077a209596f34a109b641c90d85a87876f605
tree4d2f5a1203abd83e27ace1247f5ea392480e01fd
parent84f15dc00e1d03d619b9c229df55870b02c82761
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 <pkg>_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 <thomas.petazzoni@bootlin.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
support/download/dl-wrapper