diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/terminal.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/terminal.bbclass b/meta/classes/terminal.bbclass index 774f0559fb..e577c6d594 100644 --- a/meta/classes/terminal.bbclass +++ b/meta/classes/terminal.bbclass | |||
@@ -64,6 +64,10 @@ def oe_terminal(command, title, d): | |||
64 | envdata.setVar(key, str(value)) | 64 | envdata.setVar(key, str(value)) |
65 | envdata.setVarFlag(key, 'export', 1) | 65 | envdata.setVarFlag(key, 'export', 1) |
66 | 66 | ||
67 | # A complex PS1 might need more escaping of chars. | ||
68 | # Lets not export PS1 instead. | ||
69 | envdata.delVar("PS1") | ||
70 | |||
67 | # Replace command with an executable wrapper script | 71 | # Replace command with an executable wrapper script |
68 | command = emit_terminal_func(command, envdata, d) | 72 | command = emit_terminal_func(command, envdata, d) |
69 | 73 | ||