From: Zac Medico Date: Thu, 1 Sep 2011 06:48:25 +0000 (-0700) Subject: doebuild_environment: include EPREFIX in ED X-Git-Tag: v2.2.0_alpha52~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=22c76160f6a905500c7d217efeae8c58a8298581;p=portage.git doebuild_environment: include EPREFIX in ED --- diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py index 45b28631c..7b3561e77 100644 --- a/pym/portage/package/ebuild/doebuild.py +++ b/pym/portage/package/ebuild/doebuild.py @@ -268,7 +268,9 @@ def doebuild_environment(myebuild, mydo, myroot=None, settings=None, mysettings["T"] = os.path.join(mysettings["PORTAGE_BUILDDIR"], "temp") # Prefix forward compatability - mysettings["ED"] = mysettings["D"] + eprefix_lstrip = mysettings["EPREFIX"].lstrip(os.sep) + mysettings["ED"] = os.path.join( + mysettings["D"], eprefix_lstrip).rstrip(os.sep) + os.sep mysettings["PORTAGE_BASHRC"] = os.path.join( mysettings["PORTAGE_CONFIGROOT"], EBUILD_SH_ENV_FILE)