Allow to set EAPIPREFIX. Not sure how hazardous this is, but it's darn handy at...
authorFabian Groffen <grobian@gentoo.org>
Thu, 2 Oct 2008 15:16:28 +0000 (15:16 -0000)
committerFabian Groffen <grobian@gentoo.org>
Thu, 2 Oct 2008 15:16:28 +0000 (15:16 -0000)
svn path=/main/branches/prefix/; revision=11612

pym/portage/const.py

index dcc23e7927135b14aaecd082f565eaa53e22a7c0..e6a6a0fd86b3a91075e053b154151d377f2f8d9b 100644 (file)
@@ -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