https://bz.apache.org/bugzilla/show_bug.cgi?id=58898
--- Comment #5 from [email protected] --- Thank you for the example. I think the 1.9.6 behavior in your case was objectively incorrect. It worked out to the right answer, but for the wrong reasons. '-Dbranch.command="co' -r '"' In /bin/sh, quoting does not nest. So the example command line has 3 separate arguments passed to ant: `-Dbranch.commmand="co` `-r` `"` (a literal double-quote) The ant script in 1.9.6 was smushing these back together as (quoting the space between each original argument) `"-Dbranch.command="co" "-r" """`. /bin/sh processing then interprets this mess as a single argument in the exec command (with some spurious empty strings concatenated into the value): `-Dbranch.command=co -r ` The ant script in 1.9.7 keeps those original 3 arguments separate and causes the error about the `-r` argument. -- You are receiving this mail because: You are the assignee for the bug.
