commit: 12000781c8b8facdd487a188e6ebfdc5cd1a7b83 Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Sat Dec 6 19:22:12 2014 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Sun Dec 7 06:00:28 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=12000781
bin/ebuild: fix --color=n for bug #531690 When the NOCOLOR variable is overridden in portage.settings, it's necessary to call the config.backup_changes method in order for the change to persist through config.reset calls. X-Gentoo-Bug: 531690 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=531690 Acked-by: Brian Dolbec <dolsen <AT> gentoo.org> --- bin/ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/ebuild b/bin/ebuild index a62aa20..ad52ed5 100755 --- a/bin/ebuild +++ b/bin/ebuild @@ -110,6 +110,7 @@ if not opts.color == 'y' and \ portage.output.nocolor() portage.settings.unlock() portage.settings['NOCOLOR'] = 'true' + portage.settings.backup_changes('NOCOLOR') portage.settings.lock() ebuild = pargs.pop(0)