diff options
author | Sven Gothel <[email protected]> | 2021-01-28 15:03:32 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-01-28 15:03:32 +0100 |
commit | 5a6b725aed97574fe934b5ef22a0a2a64de30b7c (patch) | |
tree | 1b05e43ab9aa2dbf699015466db6dca5aadca785 /scripts | |
parent | 805b08b183fcb95be47a8538003be14280e589c3 (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-x | scripts/build-doc.sh | 4 | ||||
-rw-r--r-- | scripts/build.sh | 4 | ||||
-rw-r--r-- | scripts/rebuild.sh | 4 |
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 |