Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Chris Smith <chris.rs@...>
Subject: Re: Perl interface to portage
Date: Tue, 4 Mar 2003 08:00:11 +0000
On Mon, 03 Mar 2003 18:17, Oleg Letsinsky wrote:
> I want the script to be
> more or less universal and "right" - i.e. no hardwired paths, so I need
> the right (i.e. "already existing") way for a perl script to get a
> portage variable - PORTDIR, DISTDIR is enough.

Try parsing the output of "emerge info" its fast and has almost everything you 
need in it. Just a quick grep and awk should do it :D

-- 
Whatever women do they must do twice as well as men to be thought half
as good.  Luckily this is not difficult.
		-- Charlotte Whitton



--
gentoo-dev@g.o mailing list

References:
Perl interface to portage
-- Oleg Letsinsky
Re: Perl interface to portage
-- Alain Penders
Re: Perl interface to portage
-- Oleg Letsinsky
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Perl interface to portage
Next by thread:
Re: Perl interface to portage
Previous by date:
RE: Cruft detecting script
Next by date:
Any way to put the startup scripts in debug mode?


Updated Mar 27, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.