summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/build.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-15 12:39:38 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-15 12:40:45 +0100
commite7981ad10d3990d72b739a6b38f655ce7604eaa1 (patch)
tree4c474b88bde021d504560b72055c669aaf1ffdc0 /bitbake/lib/bb/build.py
parent61d83c6d6b23ea0fa3f99dfb53bf47c727c5a1c6 (diff)
downloadpoky-e7981ad10d3990d72b739a6b38f655ce7604eaa1.tar.gz
build.py: Fix cut and paste error
(Bitbake rev: a1980fc89e45be6fbd4a193aaa8142e8bebcf3f4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r--bitbake/lib/bb/build.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index 31fde06e6a..00304b4e62 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -223,7 +223,7 @@ def exec_func_shell(function, d, runfile, cwd=None):
223 223
224 with open(runfile, 'w') as script: 224 with open(runfile, 'w') as script:
225 script.write('#!/bin/sh -e\n') 225 script.write('#!/bin/sh -e\n')
226 if bb.msg.loggerVerbose[1]: 226 if bb.msg.loggerVerbose:
227 script.write("set -x\n") 227 script.write("set -x\n")
228 data.emit_func(function, script, d) 228 data.emit_func(function, script, d)
229 if cwd: 229 if cwd:
@@ -234,7 +234,7 @@ def exec_func_shell(function, d, runfile, cwd=None):
234 234
235 cmd = runfile 235 cmd = runfile
236 236
237 if bb.msg.loggerVerbose[1]: 237 if bb.msg.loggerVerbose:
238 logfile = LogTee(logger, sys.stdout) 238 logfile = LogTee(logger, sys.stdout)
239 else: 239 else:
240 logfile = sys.stdout 240 logfile = sys.stdout