summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2007-01-23 16:55:46 +0000
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2007-01-23 16:55:46 +0000
commit0b347f7abe005d222119da80f18494cea324d8ec (patch)
tree09d37a9b78dfbf26b77f8ccd87dd7a7675926c39
parent5254313950178bdefc582fc74eb2d0cc124adae4 (diff)
downloadbitbake-0b347f7abe005d222119da80f18494cea324d8ec.tar.gz
lib/bb/build.py: Put LC_ALL=C on os.system call
For our french and strange friends place LC_ALL=C in all task calls. This should give us english log messages.
-rw-r--r--lib/bb/build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/build.py b/lib/bb/build.py
index e8adb3145..e1adc3354 100644
--- a/lib/bb/build.py
+++ b/lib/bb/build.py
@@ -188,7 +188,8 @@ def exec_func_shell(func, d):
maybe_fakeroot = "PATH=\"%s\" fakeroot " % bb.data.getVar("PATH", d, 1)
else:
maybe_fakeroot = ''
- ret = os.system('%ssh -e %s' % (maybe_fakeroot, runfile))
+ lang_environment = "LC_ALL=C "
+ ret = os.system('%s%ssh -e %s' % (lang_environment, maybe_fakeroot, runfile))
try:
os.chdir(prevdir)
except: