Gentoo Archives: gentoo-alt

From: Markus Duft <mduft@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] export EPREFIX in startprefix script
Date: Mon, 15 Nov 2010 07:52:41
Message-Id: 4CE0E69F.5030904@gentoo.org
In Reply to: [gentoo-alt] export EPREFIX in startprefix script by Konstantin Tokarev
1 On 11/14/2010 09:44 PM, Konstantin Tokarev wrote:
2 > I propose to export variable $EPREFIX in startprefix script to make it visible in shell after running it (for use in scripts)
3 >
4
5 for use in scripts you can use
6
7 $ portageq envvar EPREFIX
8
9 this is safer than exporting EPREFIX. having EPREFIX in the environment has some bad
10 side effects (although my brain fails on me atm for what the problems where ;))
11
12 markus

Replies

Subject Author
Re: [gentoo-alt] export EPREFIX in startprefix script Fabian Groffen <grobian@g.o>