Export the path of the build log into the ebuild env as suggested by Flameeyes.
authorZac Medico <zmedico@gentoo.org>
Thu, 6 Jul 2006 18:01:59 +0000 (18:01 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 6 Jul 2006 18:01:59 +0000 (18:01 -0000)
svn path=/main/trunk/; revision=3802

pym/portage.py

index e368ef315b5f0dd15bc71276bdab149205091d10..72b42dffc704a505e1fdae59d001655630ab7c6d 100644 (file)
@@ -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.