diff options
-rwxr-xr-x | bin/emerge | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge index f881858ca..f7292d1e2 100755 --- a/bin/emerge +++ b/bin/emerge @@ -3437,7 +3437,11 @@ def emerge_main(): if settings.get("NOCOLOR","") in ("yes","true"): nocolor() elif (not sys.stdout.isatty()) and \ - settings.get("NOCOLOR","") not in ("no","false"): + settings.get("NOCOLOR","") != "no": + # revdep-rebuild exports NOCOLOR=false, so for now, don't allow + # NOCOLOR=false to override the isatty() check. This can be fixed + # in revdep-rebuild by using the --nocolor option when appropriate + # instead of exporting NOCOLOR. nocolor() tmpcmdline = sys.argv[1:] |