FS#40824 - [apache-ant] Wrong parameter expansion in bin_ant
Attached to Project:
Arch Linux
Opened by Raphael Kubo da Costa (rakuco) - Thursday, 12 June 2014, 20:09 GMT
Last edited by Guillaume ALAUX (galaux) - Saturday, 14 June 2014, 15:31 GMT
Opened by Raphael Kubo da Costa (rakuco) - Thursday, 12 June 2014, 20:09 GMT
Last edited by Guillaume ALAUX (galaux) - Saturday, 14 June 2014, 15:31 GMT
|
Details
bin_ant calls the actual ant script and passes $@ to it.
This is wrong, as it then expands each space-separated
argument as an individual one, even if they are quoted. In
other words, if one calls
/usr/bin/ant "foo bar baz" it is passed to /usr/share/apache-ant/bin/ant as "foo" "bar" "baz". bin_ant should use "$@" instead of $@ for everything to work correctly. |
This task depends upon
Closed by Guillaume ALAUX (galaux)
Saturday, 14 June 2014, 15:31 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.9.4-2
Saturday, 14 June 2014, 15:31 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.9.4-2
Comment by
Guillaume ALAUX (galaux) - Saturday,
14 June 2014, 15:31 GMT
Thanks for this.