Re: [gentoo-dev] [PATCH v2] java-ant-2.eclass: Replace unnecessary evals with arrays

2017-02-25 Thread James Le Cuirot
On Wed, 22 Feb 2017 22:54:22 +0100 Michał Górny wrote: > Replace the horrifying use of evals along with quoting to pass multiple > filenames whitespace-safe with much simpler bash arrays. While at it, > also simplify the find-read loop. I've given this a rough test. Some of

[gentoo-dev] [PATCH v2] java-ant-2.eclass: Replace unnecessary evals with arrays

2017-02-22 Thread Michał Górny
Replace the horrifying use of evals along with quoting to pass multiple filenames whitespace-safe with much simpler bash arrays. While at it, also simplify the find-read loop. // v2: fixed find-read loop as pointed out by Arfrever --- eclass/java-ant-2.eclass | 40