1 |
>>>>> On Fri, 6 Apr 2012, Robin H Johnson wrote: |
2 |
|
3 |
>> +^[ \t]*EAPI=(['"]?)([A-Za-z0-9+_.-]*)\1[ \t]*(#.*)?$ |
4 |
> EAPI= |
5 |
> is valid in this. Was that intended? |
6 |
|
7 |
An empty EAPI is equivalent to EAPI 0 (says PMS), therefore "EAPI=" is |
8 |
valid in ebuilds. |
9 |
|
10 |
But this is sort of academic, because no ebuild in the tree contains |
11 |
an empty EAPI assignment. |
12 |
|
13 |
> Will there be any issue overriding EAPI as an env var to call a |
14 |
> function/command? |
15 |
> EAPI=... foo |
16 |
|
17 |
This won't match the regexp, and I believe that such usage is illegal |
18 |
anyhow. |
19 |
|
20 |
Ulrich |