summaryrefslogtreecommitdiffstats
path: root/scripts
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
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')
-rwxr-xr-xscripts/build-doc.sh4
-rw-r--r--scripts/build.sh4
-rw-r--r--scripts/rebuild.sh4
3 files changed, 12 insertions, 0 deletions
diff --git a/scripts/build-doc.sh b/scripts/build-doc.sh
index 152ec18c..8884ab98 100755
--- a/scripts/build-doc.sh
+++ b/scripts/build-doc.sh
@@ -14,6 +14,10 @@ if [ ! -e $JAVA_HOME ] ; then
exit 1
fi
+# 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
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
diff --git a/scripts/rebuild.sh b/scripts/rebuild.sh
index 5362f09b..7155f58f 100644
--- a/scripts/rebuild.sh
+++ b/scripts/rebuild.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