From: | "Miroslav Šulc" <fordfrog@g.o> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] RFC: ant-tasks.eclass patch | ||
Date: | Thu, 26 Sep 2019 08:05:22 | ||
Message-Id: | 776f2651-25b7-0de0-c0ea-58e5b27dd3dd@gentoo.org | ||
In Reply to: | Re: [gentoo-dev] RFC: ant-tasks.eclass patch by "Michał Górny" |
1 | Dne 25. 09. 19 v 21:44 Michał Górny napsal(a): |
2 | > On Wed, 2019-09-25 at 20:47 +0200, Miroslav Šulc wrote: |
3 | >> ... |
4 | > I don't think you need two branches here. Non-array variable is |
5 | > equivalent to an array with a single element for the purpose of [@], so |
6 | > your 'for' loop will work correctly both for non-array and array. |
7 | |
8 | thanks, you're right, i simplified the patch (attached) and all my tests |
9 | passed. |
10 | |
11 | miroslav |
File name | MIME type |
---|---|
ant-tasks.eclass.patch | text/x-patch |