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 --- 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) -- 2.0.4