Hello. :-)
El 2020-03-31 21:42, Antonio Diaz Diaz escribió:
[..]
Jeffrey Walton wrote:
[..]
Second, variables like "${option}" was quoted due to Shellcheck
findings.
Applied, thanks. This one is interesting. It seems to work as is
(without the patch), and the configure script of GNU make 4.3 uses it
unquoted in some places as lzip does.
It works because it is iterating over the positional parameters, taking
the argument of the first positional parameter ($1) and shuffling it.
This way there is nothing expanding, as long as you pass --prefix=/usr
or things like --option="1 2 3"...
But better safe than sorry.
Yeah. :-)