diff options
-rw-r--r-- | meta/classes/terminal.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/terminal.bbclass b/meta/classes/terminal.bbclass index 41230466c4..f29aeb0e12 100644 --- a/meta/classes/terminal.bbclass +++ b/meta/classes/terminal.bbclass | |||
@@ -30,7 +30,9 @@ def oe_terminal(command, title, d): | |||
30 | 30 | ||
31 | env = dict(os.environ) | 31 | env = dict(os.environ) |
32 | for export in oe.data.typed_value('OE_TERMINAL_EXPORTS', d): | 32 | for export in oe.data.typed_value('OE_TERMINAL_EXPORTS', d): |
33 | env[export] = d.getVar(export, True) | 33 | value = d.getVar(export, True) |
34 | if value is not None: | ||
35 | env[export] = str(value) | ||
34 | 36 | ||
35 | try: | 37 | try: |
36 | oe.terminal.spawn_preferred(command, title, env) | 38 | oe.terminal.spawn_preferred(command, title, env) |