1 |
On 1/2/2013 6:41 PM, Pacho Ramos wrote: |
2 |
> What is the purpose of this stuff: |
3 |
> if [[ ${___ECLASS_ONCE_EUTILS} != "recur -_+^+_- spank" ]] ; then |
4 |
> ___ECLASS_ONCE_EUTILS="recur -_+^+_- spank" |
5 |
> |
6 |
> and similar in some eclasses (like eutils, multilib) but not others |
7 |
> (like python-single-r1 that I was looking some days ago for learning how |
8 |
> to use it)? |
9 |
> |
10 |
> Thanks a lot for the info |
11 |
|
12 |
It prevents eclasses from being sourced more than once. It is meant as a |
13 |
performance enhancement for when eclasses inherit other eclasses. vapier |
14 |
posted some stats on this list a while back. |
15 |
|
16 |
We have a similar thing in python-single-r1. We call it |
17 |
_PYTHON_SINGLE_R1 and assign a value of 1 at the bottom of the eclass. |