Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
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
|
Detailsbin_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.