From: Richard Purdie Date: Wed, 8 Jun 2011 19:00:29 +0000 (+0100) Subject: bitbake/build.py: Drop exec_shell environment as its now unneeded X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bdab8e93543bfc0d7b07c61da043b410036ac2c7;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bitbake/build.py: Drop exec_shell environment as its now unneeded Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 0f047364e4b..7947906ab23 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): os.chmod(runfile, 0775) - env = { - 'PATH': d.getVar('PATH', True), - 'LC_ALL': 'C', - } - cmd = runfile if logger.isEnabledFor(logging.DEBUG): @@ -245,7 +240,7 @@ def exec_func_shell(function, d, runfile, cwd=None): logfile = sys.stdout try: - bb.process.run(cmd, env=env, shell=False, stdin=NULL, log=logfile) + bb.process.run(cmd, shell=False, stdin=NULL, log=logfile) except bb.process.CmdError: logfn = d.getVar('BB_LOGFILE', True) raise FuncFailed(function, logfn)