diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-15 12:39:38 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-15 12:40:45 +0100 |
commit | e7981ad10d3990d72b739a6b38f655ce7604eaa1 (patch) | |
tree | 4c474b88bde021d504560b72055c669aaf1ffdc0 /bitbake/lib/bb/build.py | |
parent | 61d83c6d6b23ea0fa3f99dfb53bf47c727c5a1c6 (diff) | |
download | poky-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.py | 4 |
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 |