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.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index 0f047364e4..7947906ab2 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -232,11 +232,6 @@ def exec_func_shell(function, d, runfile, cwd=None):
232 232
233 os.chmod(runfile, 0775) 233 os.chmod(runfile, 0775)
234 234
235 env = {
236 'PATH': d.getVar('PATH', True),
237 'LC_ALL': 'C',
238 }
239
240 cmd = runfile 235 cmd = runfile
241 236
242 if logger.isEnabledFor(logging.DEBUG): 237 if logger.isEnabledFor(logging.DEBUG):
@@ -245,7 +240,7 @@ def exec_func_shell(function, d, runfile, cwd=None):
245 logfile = sys.stdout 240 logfile = sys.stdout
246 241
247 try: 242 try:
248 bb.process.run(cmd, env=env, shell=False, stdin=NULL, log=logfile) 243 bb.process.run(cmd, shell=False, stdin=NULL, log=logfile)
249 except bb.process.CmdError: 244 except bb.process.CmdError:
250 logfn = d.getVar('BB_LOGFILE', True) 245 logfn = d.getVar('BB_LOGFILE', True)
251 raise FuncFailed(function, logfn) 246 raise FuncFailed(function, logfn)