summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-06-22 23:42:22 +0000
committerZac Medico <zmedico@gentoo.org>2007-06-22 23:42:22 +0000
commitdd4382b10d60ffe9ed138980c50891bc98e3a878 (patch)
treef457ba7267bdfc53e0882917fc43c4f35ac94c24
parentae915e61eac7412153c794c789b9403d6161d633 (diff)
downloadportage-dd4382b10d60ffe9ed138980c50891bc98e3a878.tar.gz
portage-dd4382b10d60ffe9ed138980c50891bc98e3a878.tar.bz2
portage-dd4382b10d60ffe9ed138980c50891bc98e3a878.zip
Show which $ROOT a package was merged to when $ROOT is not /.
svn path=/main/trunk/; revision=6959
-rw-r--r--pym/portage/elog/mod_echo.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/pym/portage/elog/mod_echo.py b/pym/portage/elog/mod_echo.py
index 308c8efcc..a5749a93a 100644
--- a/pym/portage/elog/mod_echo.py
+++ b/pym/portage/elog/mod_echo.py
@@ -21,9 +21,12 @@ def finalize():
def _finalize(mysettings, items):
printer = EOutput()
+ root_msg = ""
+ if mysettings["ROOT"] != "/":
+ root_msg = " merged to %s" % mysettings["ROOT"]
for key, logentries in items.iteritems():
print
- printer.einfo("Messages for package %s:" % key)
+ printer.einfo("Messages for package %s%s:" % (key, root_msg))
print
for phase in EBUILD_PHASES:
if phase not in logentries: