summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-07-06 18:01:59 +0000
committerZac Medico <zmedico@gentoo.org>2006-07-06 18:01:59 +0000
commit1c2275ddd6d1149008c9f8b23f158b84dabc8186 (patch)
tree3d87d84bcc5289161c895915dc2738830a7aa654
parent59411639ef8d524d7cc3de3420c5dcc1c844e910 (diff)
downloadportage-1c2275ddd6d1149008c9f8b23f158b84dabc8186.tar.gz
portage-1c2275ddd6d1149008c9f8b23f158b84dabc8186.tar.bz2
portage-1c2275ddd6d1149008c9f8b23f158b84dabc8186.zip
Export the path of the build log into the ebuild env as suggested by Flameeyes.
svn path=/main/trunk/; revision=3802
-rw-r--r--pym/portage.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index e368ef315..72b42dffc 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -2766,6 +2766,7 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
time.gmtime(os.stat(logid_path).st_mtime))
logfile = os.path.join(mysettings["PORT_LOGDIR"], "%s:%s:%s.log" %\
(mysettings["CATEGORY"], mysettings["PF"], logid_time))
+ mysettings["PORTAGE_LOG_FILE"] = logfile
del logid_path, logid_time
# if any of these are being called, handle them -- running them out of the sandbox -- and stop now.