https://bz.apache.org/bugzilla/show_bug.cgi?id=59321

--- Comment #11 from Jamie Penman-Smithson <[email protected]> ---
(In reply to Jamie Penman-Smithson from comment #10)
> Created attachment 34221 [details]
> Escape arguments for Solaris sh
> 
> I've managed to get it working using Solaris sh with a few tweaks to the way
> that the arguments are escaped, I've attached a patch.
> 
> With the limited testing I have done, it appears to work:
> 
> $ ant -log"f"ile f"o"o\a.log
> Buildfile: [..]
> $ ls -al fooa.log
> -rw-r--r--   1 devutils other       2445 Sep  7 13:33 fooa.log

I've also tested this on a Linux box (RHEL 6) and it also works there:

$ ant -log"fi"le f\oo"bar".log
Buildfile: build.xml
$ ls -al foobar.log 
-rw-rw-r--. 1 ecat ecat 1.7K Sep  7 13:58 foobar.log

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to