[Buildroot] [PATCH v2 1/6] support/download: Add support to pass options directly to downloaders

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Jul 24 14:05:50 UTC 2016


Hello,

On Sun, 24 Jul 2016 16:04:01 +0200, Yann E. MORIN wrote:

> Because "${@}" expands to nothing if there is no paramter.
> 
> http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18
> 
> @
>     Expands to the positional parameters, starting from one. When the
>     expansion occurs within double-quotes, and where field splitting (see
>     Field Splitting) is performed, each positional parameter shall expand
>     as a separate field [...]. If there are no positional parameters, the
>     expansion of '@' shall generate zero fields, even when '@' is
>     double-quoted.

Aaah. Didn't know that. Thanks for the explanation.

Romain, can you respin to use "${@}" like Yann suggested, and fix the
other issues pointed by Yann?

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list