summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-09-06 17:08:51 +0000
committerZac Medico <zmedico@gentoo.org>2007-09-06 17:08:51 +0000
commitd4bbd3e2a079e9577fadacbb67ce312b2b3e2a1f (patch)
treea5678aa75a437a18e5b680c477b529488f29640f /pym/portage.py
parentc13a95e49aecd350ac7e389500b192ccd7c9007f (diff)
downloadportage-d4bbd3e2a079e9577fadacbb67ce312b2b3e2a1f.tar.gz
portage-d4bbd3e2a079e9577fadacbb67ce312b2b3e2a1f.tar.bz2
portage-d4bbd3e2a079e9577fadacbb67ce312b2b3e2a1f.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. (trunk r7700) svn path=/main/branches/2.1.2/; revision=7732
Diffstat (limited to 'pym/portage.py')
-rw-r--r--pym/portage.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 7be9f72c7..e39d2fb9d 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -3299,6 +3299,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("/", "_-_")