diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-02-23 17:36:08 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-02-23 17:36:08 +0000 |
commit | 23b782ab4cd4bcc4f92d6c1842a20b9c6482785f (patch) | |
tree | a7a1acd7937b0b9810836a4bdc53d41c76c349b4 /bin/ebuild | |
parent | remove code that is duplicated in prepstrip (diff) | |
download | portage-multirepo-23b782ab4cd4bcc4f92d6c1842a20b9c6482785f.tar.gz portage-multirepo-23b782ab4cd4bcc4f92d6c1842a20b9c6482785f.tar.bz2 portage-multirepo-23b782ab4cd4bcc4f92d6c1842a20b9c6482785f.zip |
Add NOCOLOR support to bin/ebuild for bug 78701.
svn path=/main/trunk/; revision=2773
Diffstat (limited to 'bin/ebuild')
-rwxr-xr-x | bin/ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -25,6 +25,10 @@ sys.path = ["/usr/lib/portage/pym"]+sys.path import portage, portage_util, portage_const +if portage.settings["NOCOLOR"] in ("yes","true") or not sys.stdout.isatty(): + import output + output.nocolor() + ebuild = os.path.realpath(pargs.pop(0)) if not os.path.exists(ebuild): |