aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/build.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-01-28 15:03:32 +0100
committerSven Gothel <[email protected]>2021-01-28 15:03:32 +0100
commit5a6b725aed97574fe934b5ef22a0a2a64de30b7c (patch)
tree1b05e43ab9aa2dbf699015466db6dca5aadca785 /scripts/build.sh
parent805b08b183fcb95be47a8538003be14280e589c3 (diff)
cmake/build/test: Ensure UTF8 is used by system, set LANG to 'en_US.UTF-8' to have a unified environment
Diffstat (limited to 'scripts/build.sh')
-rw-r--r--scripts/build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index 94c39f0b..91c99077 100644
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -16,6 +16,10 @@ fi
CPU_COUNT=`getconf _NPROCESSORS_ONLN`
+# run 'dpkg-reconfigure locales' enable 'en_US.UTF-8'
+export LANG=en_US.UTF-8
+export LC_MEASUREMENT=en_US.UTF-8
+
buildit() {
echo rootdir $rootdir
echo logfile $logfile