1 |
On 07-11-2010 23:16:08 +0000, Alan Hourihane wrote: |
2 |
> > Ok, would this work for you? |
3 |
> > |
4 |
> > if "EPREFIX" in os.environ and os.environ["EPREFIX"] != "": |
5 |
> |
6 |
> Couldn't this just be... |
7 |
> |
8 |
> if os.environ["EPREFIX"] != "": |
9 |
|
10 |
In the original code, this would give a keyerror, if EPREFIX was/is not |
11 |
exported. It may be that Portage now always exports it itself, in which |
12 |
case the EPREFIX is always expanded nowadays. Needs investigation. |
13 |
|
14 |
|
15 |
-- |
16 |
Fabian Groffen |
17 |
Gentoo on a different level |