summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-08-25 19:41:15 +0000
committerZac Medico <zmedico@gentoo.org>2007-08-25 19:41:15 +0000
commit3beeb0307aaaf083aba55898b36d1b0ce22277e3 (patch)
tree9edd8bc5ec668622e06329b06d18b16c3117906c /pym
parent50ad5de8b8af13ea2c8b8398239ab76d2d3e3047 (diff)
downloadportage-3beeb0307aaaf083aba55898b36d1b0ce22277e3.tar.gz
portage-3beeb0307aaaf083aba55898b36d1b0ce22277e3.tar.bz2
portage-3beeb0307aaaf083aba55898b36d1b0ce22277e3.zip
Bug #190214 - Make the rpm phase use /usr/src/rpm instead of /usr/src/redhat.
Bug #190144 - Use the realpath of DISTDIR so that things like subversion.eclass are compatible with sandbox. svn path=/main/trunk/; revision=7700
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 1f6d49c22..e11b8f419 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -3342,6 +3342,9 @@ def doebuild_environment(myebuild, mydo, myroot, mysettings, debug, use_cache, m
mysettings["PF"] = mypv
mysettings["PORTDIR"] = os.path.realpath(mysettings["PORTDIR"])
+ mysettings["DISTDIR"] = os.path.realpath(mysettings["DISTDIR"])
+ mysettings["RPMDIR"] = os.path.realpath(mysettings["RPMDIR"])
+
mysettings["ECLASSDIR"] = mysettings["PORTDIR"]+"/eclass"
mysettings["SANDBOX_LOG"] = mycpv.replace("/", "_-_")