diff options
Diffstat (limited to 'bitbake/bin/bitbake-worker')
| -rwxr-xr-x | bitbake/bin/bitbake-worker | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake-worker b/bitbake/bin/bitbake-worker index 2f3e9f72f9..5e62bc20de 100755 --- a/bitbake/bin/bitbake-worker +++ b/bitbake/bin/bitbake-worker | |||
| @@ -24,8 +24,7 @@ import subprocess | |||
| 24 | from multiprocessing import Lock | 24 | from multiprocessing import Lock |
| 25 | from threading import Thread | 25 | from threading import Thread |
| 26 | 26 | ||
| 27 | if sys.getfilesystemencoding() != "utf-8": | 27 | bb.utils.check_system_locale() |
| 28 | sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.") | ||
| 29 | 28 | ||
| 30 | # Users shouldn't be running this code directly | 29 | # Users shouldn't be running this code directly |
| 31 | if len(sys.argv) != 2 or not sys.argv[1].startswith("decafbad"): | 30 | if len(sys.argv) != 2 or not sys.argv[1].startswith("decafbad"): |
