projects
/
tools
/
mic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
420e936
)
Add locale related environment varibale because language is not set to one specified...
44/179844/1
author
SoonKyu Park
<sk7.park@samsung.com>
Wed, 23 May 2018 02:27:24 +0000
(11:27 +0900)
committer
SoonKyu Park
<sk7.park@samsung.com>
Wed, 23 May 2018 02:27:24 +0000
(11:27 +0900)
env['LANG'] = 'language in ks'
env['LC_ALL'] = 'language in ks'
Change-Id: I8ce8930455af4ae0c6f3482e9c12a74194da02f8
mic/bootstrap.py
patch
|
blob
|
history
diff --git
a/mic/bootstrap.py
b/mic/bootstrap.py
index b51b79a061ab159c6558315f16b011dfcf2327fa..c3e847187a102d5426af503ae51640bdba0da7a2 100644
(file)
--- a/
mic/bootstrap.py
+++ b/
mic/bootstrap.py
@@
-302,6
+302,11
@@
class Bootstrap(object):
env = os.environ
env['PATH'] = "%s:%s" % (PATH_BOOTSTRAP, env['PATH'])
+ cropts = configmgr.create
+ if cropts["ks"]:
+ lang = cropts["ks"].handler.lang.lang
+ env['LANG'] = lang
+ env['LC_ALL'] = lang
retcode = 0
gloablmounts = None