aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDi Xu <di.xu@arm.com>2017-11-08 16:59:07 +0800
committerJustin chi <chigang@huawei.com>2017-11-20 02:33:16 +0000
commit30e387babf40f4124d5726d28cfe569af880cfd9 (patch)
treeeb1c66051921479aa33a0dbe19a6c00eea7547ed
parent9c15a3763f01c60879b0ce49094952f2fb941add (diff)
fix locale setting: Cannot set LC_ALL to default locale
Change-Id: I050a17d5f61a31f8690b41bb70b2ea312aa50ab1 Signed-off-by: Di Xu <di.xu@arm.com>
-rwxr-xr-xbuild.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 103bbb8f..4790ae83 100755
--- 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