summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/terminal.bbclass4
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):
env = dict(os.environ)
for export in oe.data.typed_value('OE_TERMINAL_EXPORTS', d):
- env[export] = d.getVar(export, True)
+ value = d.getVar(export, True)
+ if value is not None:
+ env[export] = str(value)
try:
oe.terminal.spawn_preferred(command, title, env)