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 bf6b612f32..3494c0a28e 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -188,7 +188,8 @@ def exec_func_shell(func, d):
188 maybe_fakeroot = "PATH=\"%s\" fakeroot " % bb.data.getVar("PATH", d, 1) 188 maybe_fakeroot = "PATH=\"%s\" fakeroot " % bb.data.getVar("PATH", d, 1)
189 else: 189 else:
190 maybe_fakeroot = '' 190 maybe_fakeroot = ''
191 ret = os.system('%ssh -e %s' % (maybe_fakeroot, runfile)) 191 lang_environment = "LC_ALL=C "
192 ret = os.system('%s%ssh -e %s' % (lang_environment, maybe_fakeroot, runfile))
192 try: 193 try:
193 os.chdir(prevdir) 194 os.chdir(prevdir)
194 except: 195 except: