1 |
On Mon, 03 Mar 2003 18:17, Oleg Letsinsky wrote: |
2 |
> I want the script to be |
3 |
> more or less universal and "right" - i.e. no hardwired paths, so I need |
4 |
> the right (i.e. "already existing") way for a perl script to get a |
5 |
> portage variable - PORTDIR, DISTDIR is enough. |
6 |
|
7 |
Try parsing the output of "emerge info" its fast and has almost everything you |
8 |
need in it. Just a quick grep and awk should do it :D |
9 |
|
10 |
-- |
11 |
Whatever women do they must do twice as well as men to be thought half |
12 |
as good. Luckily this is not difficult. |
13 |
-- Charlotte Whitton |
14 |
|
15 |
|
16 |
|
17 |
-- |
18 |
gentoo-dev@g.o mailing list |