From: Fabian Groffen Date: Thu, 2 Oct 2008 15:16:28 +0000 (-0000) Subject: Allow to set EAPIPREFIX. Not sure how hazardous this is, but it's darn handy at... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=775ec14f4e2a1086122fdfd54f14c9fd23052119;p=portage.git Allow to set EAPIPREFIX. Not sure how hazardous this is, but it's darn handy at work (using Prefix repoman to commit on a non-Prefix overlay) svn path=/main/branches/prefix/; revision=11612 --- diff --git a/pym/portage/const.py b/pym/portage/const.py index dcc23e792..e6a6a0fd8 100644 --- a/pym/portage/const.py +++ b/pym/portage/const.py @@ -14,6 +14,8 @@ BPREFIX = EPREFIX # pick up EPREFIX from the environment if set if "EPREFIX" in os.environ: EPREFIX = os.path.normpath(os.environ["EPREFIX"]) +if "EAPIPREFIX" in os.environ: + EAPIPREFIX = os.environ["EAPIPREFIX"] # =========================================================================== # START OF CONSTANTS -- START OF CONSTANTS -- START OF CONSTANTS -- START OF