summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r--bitbake/lib/bb/build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index b7031ab6d3..e390bec51f 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -229,7 +229,8 @@ def exec_func_shell(function, d, runfile, cwd=None):
229 script.write('#!/bin/sh -e\n') 229 script.write('#!/bin/sh -e\n')
230 data.emit_func(function, script, d) 230 data.emit_func(function, script, d)
231 231
232 script.write("set -x\n") 232 if bb.msg.loggerVerboseLogs:
233 script.write("set -x\n")
233 if cwd: 234 if cwd:
234 script.write("cd %s\n" % cwd) 235 script.write("cd %s\n" % cwd)
235 script.write("%s\n" % function) 236 script.write("%s\n" % function)