diff options
Diffstat (limited to 'bitbake')
-rwxr-xr-x | bitbake/bin/bitbake | 2 | ||||
-rwxr-xr-x | bitbake/bin/bitbake-worker | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index 431bb4b676..95e4109685 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake | |||
@@ -36,7 +36,7 @@ from bb import cookerdata | |||
36 | from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException | 36 | from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException |
37 | 37 | ||
38 | if sys.getfilesystemencoding() != "utf-8": | 38 | if sys.getfilesystemencoding() != "utf-8": |
39 | sys.exit("Please use a locale setting which supports 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.") | 39 | 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.") |
40 | 40 | ||
41 | __version__ = "1.37.0" | 41 | __version__ = "1.37.0" |
42 | 42 | ||
diff --git a/bitbake/bin/bitbake-worker b/bitbake/bin/bitbake-worker index ee2d6224a5..e925054b7f 100755 --- a/bitbake/bin/bitbake-worker +++ b/bitbake/bin/bitbake-worker | |||
@@ -17,7 +17,7 @@ from multiprocessing import Lock | |||
17 | from threading import Thread | 17 | from threading import Thread |
18 | 18 | ||
19 | if sys.getfilesystemencoding() != "utf-8": | 19 | if sys.getfilesystemencoding() != "utf-8": |
20 | sys.exit("Please use a locale setting which supports 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.") | 20 | 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.") |
21 | 21 | ||
22 | # Users shouldn't be running this code directly | 22 | # Users shouldn't be running this code directly |
23 | if len(sys.argv) != 2 or not sys.argv[1].startswith("decafbad"): | 23 | if len(sys.argv) != 2 or not sys.argv[1].startswith("decafbad"): |
@@ -499,4 +499,3 @@ worker_thread.join() | |||
499 | 499 | ||
500 | workerlog_write("exitting") | 500 | workerlog_write("exitting") |
501 | sys.exit(0) | 501 | sys.exit(0) |
502 | |||