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 | |
parent | 61d83c6d6b23ea0fa3f99dfb53bf47c727c5a1c6 (diff) | |
download | ast2050-yocto-poky-e7981ad10d3990d72b739a6b38f655ce7604eaa1.zip ast2050-yocto-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')
-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 31fde06..00304b4 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): 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 |