fix locale setting: Cannot set LC_ALL to default locale 49/46849/2
authorDi Xu <di.xu@arm.com>
Wed, 8 Nov 2017 08:59:07 +0000 (16:59 +0800)
committerJustin chi <chigang@huawei.com>
Mon, 20 Nov 2017 02:33:16 +0000 (02:33 +0000)
Change-Id: I050a17d5f61a31f8690b41bb70b2ea312aa50ab1
Signed-off-by: Di Xu <di.xu@arm.com>
build.sh

index 103bbb8..4790ae8 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -9,6 +9,9 @@
 ##############################################################################
 set -ex
 
+#avoid locale issue on some environment
+export LC_ALL=en_US.UTF-8
+
 COMPASS_PATH=`cd ${BASH_SOURCE[0]%/*};pwd`
 WORK_DIR=$COMPASS_PATH/work/building
 export CACHE_DIR=$WORK_DIR/cache