diff options
author | Sven Gothel <[email protected]> | 2021-01-29 00:37:58 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-01-29 00:37:58 +0100 |
commit | 6a1c83ab11c3a1a93cde90669e5770602a29d6af (patch) | |
tree | a21140d107f2ed95cf21a7397a41535ec9b95ee1 /scripts | |
parent | 272823b27e134217efa450971d7e00fa50c44241 (diff) |
locale: Add LC_ALL and hint to set system (testing requires proper unified setup)
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build-doc.sh | 6 | ||||
-rw-r--r-- | scripts/build.sh | 6 | ||||
-rw-r--r-- | scripts/run-dbt_scanner00.sh | 6 | ||||
-rw-r--r-- | scripts/run-dbt_scanner01.sh | 6 | ||||
-rwxr-xr-x | scripts/run-dbt_scanner10.sh | 6 | ||||
-rw-r--r-- | scripts/run-java-scanner00.sh | 6 | ||||
-rw-r--r-- | scripts/run-java-scanner01.sh | 6 | ||||
-rw-r--r-- | scripts/run-java-scanner02.sh | 6 | ||||
-rwxr-xr-x | scripts/run-java-scanner10.sh | 6 |
9 files changed, 36 insertions, 18 deletions
diff --git a/scripts/build-doc.sh b/scripts/build-doc.sh index 8884ab98..ef9220f8 100755 --- a/scripts/build-doc.sh +++ b/scripts/build-doc.sh @@ -14,9 +14,11 @@ if [ ! -e $JAVA_HOME ] ; then exit 1 fi -# run 'dpkg-reconfigure locales' enable 'en_US.UTF-8' -export LANG=en_US.UTF-8 +# run as root 'dpkg-reconfigure locales' enable 'en_US.UTF-8' +# perhaps run as root 'update-locale LC_MEASUREMENT=en_US.UTF-8 LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8' export LC_MEASUREMENT=en_US.UTF-8 +export LC_ALL=en_US.UTF-8 +export LANG=en_US.UTF-8 buildit() { echo rootdir $rootdir diff --git a/scripts/build.sh b/scripts/build.sh index 77685a09..6d77c211 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -16,9 +16,11 @@ fi CPU_COUNT=`getconf _NPROCESSORS_ONLN` -# run 'dpkg-reconfigure locales' enable 'en_US.UTF-8' -export LANG=en_US.UTF-8 +# run as root 'dpkg-reconfigure locales' enable 'en_US.UTF-8' +# perhaps run as root 'update-locale LC_MEASUREMENT=en_US.UTF-8 LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8' export LC_MEASUREMENT=en_US.UTF-8 +export LC_ALL=en_US.UTF-8 +export LANG=en_US.UTF-8 buildit() { echo rootdir $rootdir diff --git a/scripts/run-dbt_scanner00.sh b/scripts/run-dbt_scanner00.sh index bea1d441..c698bafd 100644 --- a/scripts/run-dbt_scanner00.sh +++ b/scripts/run-dbt_scanner00.sh @@ -12,9 +12,11 @@ fi # hciconfig hci0 reset ulimit -c unlimited -# run 'dpkg-reconfigure locales' enable 'en_US.UTF-8' -export LANG=en_US.UTF-8 +# run as root 'dpkg-reconfigure locales' enable 'en_US.UTF-8' +# perhaps run as root 'update-locale LC_MEASUREMENT=en_US.UTF-8 LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8' export LC_MEASUREMENT=en_US.UTF-8 +export LC_ALL=en_US.UTF-8 +export LANG=en_US.UTF-8 echo COMMANDLINE $0 $* echo direct_bt_debug $direct_bt_debug diff --git a/scripts/run-dbt_scanner01.sh b/scripts/run-dbt_scanner01.sh index e6975821..7c040f09 100644 --- a/scripts/run-dbt_scanner01.sh +++ b/scripts/run-dbt_scanner01.sh @@ -12,9 +12,11 @@ fi # hciconfig hci0 reset ulimit -c unlimited -# run 'dpkg-reconfigure locales' enable 'en_US.UTF-8' -export LANG=en_US.UTF-8 +# run as root 'dpkg-reconfigure locales' enable 'en_US.UTF-8' +# perhaps run as root 'update-locale LC_MEASUREMENT=en_US.UTF-8 LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8' export LC_MEASUREMENT=en_US.UTF-8 +export LC_ALL=en_US.UTF-8 +export LANG=en_US.UTF-8 echo COMMANDLINE $0 $* echo direct_bt_debug $direct_bt_debug diff --git a/scripts/run-dbt_scanner10.sh b/scripts/run-dbt_scanner10.sh index 22a401c4..5da9d76b 100755 --- a/scripts/run-dbt_scanner10.sh +++ b/scripts/run-dbt_scanner10.sh @@ -55,9 +55,11 @@ rm -f $callgrindoutfile ulimit -c unlimited -# run 'dpkg-reconfigure locales' enable 'en_US.UTF-8' -export LANG=en_US.UTF-8 +# run as root 'dpkg-reconfigure locales' enable 'en_US.UTF-8' +# perhaps run as root 'update-locale LC_MEASUREMENT=en_US.UTF-8 LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8' export LC_MEASUREMENT=en_US.UTF-8 +export LC_ALL=en_US.UTF-8 +export LANG=en_US.UTF-8 # export EXE_WRAPPER="valgrind --tool=memcheck --leak-check=full --show-reachable=yes --track-origins=yes --malloc-fill=0xff --free-fill=0xfe --error-limit=no --default-suppressions=yes --suppressions=$sdir/valgrind.supp --gen-suppressions=all -s --log-file=$valgrindlogfile" # export EXE_WRAPPER="valgrind --tool=memcheck --leak-check=full --show-leak-kinds=definite --track-origins=yes --malloc-fill=0xff --free-fill=0xfe --error-limit=no --default-suppressions=yes --suppressions=$sdir/valgrind.supp --gen-suppressions=all -s --log-file=$valgrindlogfile" diff --git a/scripts/run-java-scanner00.sh b/scripts/run-java-scanner00.sh index dfdf434e..f3eb89c5 100644 --- a/scripts/run-java-scanner00.sh +++ b/scripts/run-java-scanner00.sh @@ -12,9 +12,11 @@ fi # hciconfig hci0 reset ulimit -c unlimited -# run 'dpkg-reconfigure locales' enable 'en_US.UTF-8' -export LANG=en_US.UTF-8 +# run as root 'dpkg-reconfigure locales' enable 'en_US.UTF-8' +# perhaps run as root 'update-locale LC_MEASUREMENT=en_US.UTF-8 LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8' export LC_MEASUREMENT=en_US.UTF-8 +export LC_ALL=en_US.UTF-8 +export LANG=en_US.UTF-8 echo COMMANDLINE $0 $* echo direct_bt_debug $direct_bt_debug diff --git a/scripts/run-java-scanner01.sh b/scripts/run-java-scanner01.sh index 10cae6b6..2afbff03 100644 --- a/scripts/run-java-scanner01.sh +++ b/scripts/run-java-scanner01.sh @@ -16,9 +16,11 @@ fi # hciconfig hci0 reset ulimit -c unlimited -# run 'dpkg-reconfigure locales' enable 'en_US.UTF-8' -export LANG=en_US.UTF-8 +# run as root 'dpkg-reconfigure locales' enable 'en_US.UTF-8' +# perhaps run as root 'update-locale LC_MEASUREMENT=en_US.UTF-8 LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8' export LC_MEASUREMENT=en_US.UTF-8 +export LC_ALL=en_US.UTF-8 +export LANG=en_US.UTF-8 echo COMMANDLINE $0 $* echo direct_bt_debug $direct_bt_debug diff --git a/scripts/run-java-scanner02.sh b/scripts/run-java-scanner02.sh index e52adc1e..b8f53533 100644 --- a/scripts/run-java-scanner02.sh +++ b/scripts/run-java-scanner02.sh @@ -16,9 +16,11 @@ fi # hciconfig hci0 reset ulimit -c unlimited -# run 'dpkg-reconfigure locales' enable 'en_US.UTF-8' -export LANG=en_US.UTF-8 +# run as root 'dpkg-reconfigure locales' enable 'en_US.UTF-8' +# perhaps run as root 'update-locale LC_MEASUREMENT=en_US.UTF-8 LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8' export LC_MEASUREMENT=en_US.UTF-8 +export LC_ALL=en_US.UTF-8 +export LANG=en_US.UTF-8 echo COMMANDLINE $0 $* echo direct_bt_debug $direct_bt_debug diff --git a/scripts/run-java-scanner10.sh b/scripts/run-java-scanner10.sh index f67f0de2..5bfb1215 100755 --- a/scripts/run-java-scanner10.sh +++ b/scripts/run-java-scanner10.sh @@ -54,9 +54,11 @@ rm -f $callgrindoutfile ulimit -c unlimited -# run 'dpkg-reconfigure locales' enable 'en_US.UTF-8' -export LANG=en_US.UTF-8 +# run as root 'dpkg-reconfigure locales' enable 'en_US.UTF-8' +# perhaps run as root 'update-locale LC_MEASUREMENT=en_US.UTF-8 LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8' export LC_MEASUREMENT=en_US.UTF-8 +export LC_ALL=en_US.UTF-8 +export LANG=en_US.UTF-8 # JAVA_CMD="java -Xcheck:jni -verbose:jni" JAVA_CMD="java" |