summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-01-11 05:22:43 +0000
committerZac Medico <zmedico@gentoo.org>2010-01-11 05:22:43 +0000
commitb4ef1e6be09e5033e165ab1cfe062d23b00f0254 (patch)
tree5563e73c5005ddd91f25bebfb6c510ebeabd4de4 /bin/ebuild
parentTweak TERM usage in xtermTitleReset() to match that in xtermTitle(). (diff)
downloadportage-idfetch-b4ef1e6be09e5033e165ab1cfe062d23b00f0254.tar.gz
portage-idfetch-b4ef1e6be09e5033e165ab1cfe062d23b00f0254.tar.bz2
portage-idfetch-b4ef1e6be09e5033e165ab1cfe062d23b00f0254.zip
Bug #300388 - Fix terminal handling code to so term codes aren't sent when
TERM=dumb. svn path=/main/trunk/; revision=15191
Diffstat (limited to 'bin/ebuild')
-rwxr-xr-xbin/ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ebuild b/bin/ebuild
index dc3f448c..d8eec06a 100755
--- a/bin/ebuild
+++ b/bin/ebuild
@@ -88,6 +88,7 @@ if debug and "python-trace" in portage.features:
if not opts.color == 'y' and \
(opts.color == 'n' or \
portage.settings.get('NOCOLOR') in ('yes', 'true') or \
+ portage.settings.get('TERM') == 'dumb' or \
not sys.stdout.isatty()):
portage.output.nocolor()
portage.settings.unlock()