diff options
Diffstat (limited to 'meta/classes/terminal.bbclass')
-rw-r--r-- | meta/classes/terminal.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/terminal.bbclass b/meta/classes/terminal.bbclass index 591b4acf6d..efbc4eb9ae 100644 --- a/meta/classes/terminal.bbclass +++ b/meta/classes/terminal.bbclass | |||
@@ -20,7 +20,7 @@ def emit_terminal_func(command, envdata, d): | |||
20 | runfmt = d.getVar('BB_RUNFMT', True) or "run.{func}.{pid}" | 20 | runfmt = d.getVar('BB_RUNFMT', True) or "run.{func}.{pid}" |
21 | runfile = runfmt.format(func=cmd_func, task=cmd_func, taskfunc=cmd_func, pid=os.getpid()) | 21 | runfile = runfmt.format(func=cmd_func, task=cmd_func, taskfunc=cmd_func, pid=os.getpid()) |
22 | runfile = os.path.join(d.getVar('T', True), runfile) | 22 | runfile = os.path.join(d.getVar('T', True), runfile) |
23 | bb.mkdirhier(os.path.dirname(runfile)) | 23 | bb.utils.mkdirhier(os.path.dirname(runfile)) |
24 | 24 | ||
25 | with open(runfile, 'w') as script: | 25 | with open(runfile, 'w') as script: |
26 | script.write('#!/bin/sh -e\n') | 26 | script.write('#!/bin/sh -e\n') |