1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

build.py: Fix cut and paste error

(Bitbake rev: a1980fc89e45be6fbd4a193aaa8142e8bebcf3f4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2011-08-15 12:39:38 +01:00
parent 61d83c6d6b
commit e7981ad10d
+2 -2
View File
@@ -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