summaryrefslogtreecommitdiffstats
path: root/scripts/run-dbt_scanner01.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-08-26 04:12:04 +0200
committerSven Gothel <[email protected]>2020-08-26 04:12:04 +0200
commit023bc55ff692871b6e81adc574af9729df06d84f (patch)
treeede0983dab3d1c2be69f597a752b8bf7be8efc1c /scripts/run-dbt_scanner01.sh
parentcd8909d8b741394ea472bd9c181e2139b4b615a8 (diff)
run scripts: Set LANG and LC_MEASUREMENT to en_US.UTF-8 for unified log files
LC_MEASUREMENT also to have the thousands separator in the elapsed time field
Diffstat (limited to 'scripts/run-dbt_scanner01.sh')
-rw-r--r--scripts/run-dbt_scanner01.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/run-dbt_scanner01.sh b/scripts/run-dbt_scanner01.sh
index 3d78740b..a4bca9a6 100644
--- a/scripts/run-dbt_scanner01.sh
+++ b/scripts/run-dbt_scanner01.sh
@@ -9,5 +9,10 @@ if [ ! -e bin/dbt_scanner01 -o ! -e lib/libdirect_bt.so ] ; then
exit 1
fi
# hciconfig hci0 reset
+
+# run 'dpkg-reconfigure locales' enable 'en_US.UTF-8'
+export LANG=en_US.UTF-8
+export LC_MEASUREMENT=en_US.UTF-8
+
#LD_LIBRARY_PATH=`pwd`/lib strace bin/dbt_scanner01 $*
LD_LIBRARY_PATH=`pwd`/lib bin/dbt_scanner01 $*