Re: Can the Ant task "patch" be used in Linux for patching files with DOS linefeeds?
Stefan Bodewig <[email protected]> Fri, 04 Sep 2020 13:07:37 +0200
| Newsgroups | gmane.comp.jakarta.ant.user |
|---|---|
| Message-ID | <[email protected]> |
On 2020-09-02, Harri T. wrote: > 1. use the Ant task |patch| in Linux for patching files with DOS linefeeds? > 2. apply the option |--binary| with the Ant task |patch|? Th patch task doesn't support --binary, yet, but it would be very easy to add. Actually <patch> is really a simple wrapper for <exec>, the easiest approach probably is to use <exec> instead of the task. Stefan