summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oe/terminal.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py
index 4f5c611615..52a891388a 100644
--- a/meta/lib/oe/terminal.py
+++ b/meta/lib/oe/terminal.py
@@ -57,6 +57,12 @@ class Gnome(XTerminal):
57 priority = 2 57 priority = 2
58 58
59 def __init__(self, sh_cmd, title=None, env=None, d=None): 59 def __init__(self, sh_cmd, title=None, env=None, d=None):
60 # Recent versions of gnome-terminal does not support non-UTF8 charset:
61 # https://bugzilla.gnome.org/show_bug.cgi?id=732127; as a workaround,
62 # clearing the LC_ALL environment variable so it uses the locale.
63 # Once fixed on the gnome-terminal project, this should be removed.
64 if os.getenv('LC_ALL'): os.putenv('LC_ALL','')
65
60 # Check version 66 # Check version
61 vernum = check_terminal_version("gnome-terminal") 67 vernum = check_terminal_version("gnome-terminal")
62 if vernum and LooseVersion(vernum) >= '3.10': 68 if vernum and LooseVersion(vernum) >= '3.10':