build.py: Fix cut and paste error
(Bitbake rev: a1980fc89e45be6fbd4a193aaa8142e8bebcf3f4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
61d83c6d6b
commit
e7981ad10d
|
@ -223,7 +223,7 @@ def exec_func_shell(function, d, runfile, cwd=None):
|
|||
|
||||
with open(runfile, 'w') as script:
|
||||
script.write('#!/bin/sh -e\n')
|
||||
if bb.msg.loggerVerbose[1]:
|
||||
if bb.msg.loggerVerbose:
|
||||
script.write("set -x\n")
|
||||
data.emit_func(function, script, d)
|
||||
if cwd:
|
||||
|
@ -234,7 +234,7 @@ def exec_func_shell(function, d, runfile, cwd=None):
|
|||
|
||||
cmd = runfile
|
||||
|
||||
if bb.msg.loggerVerbose[1]:
|
||||
if bb.msg.loggerVerbose:
|
||||
logfile = LogTee(logger, sys.stdout)
|
||||
else:
|
||||
logfile = sys.stdout
|
||||
|
|
Loading…
Reference in New Issue