changeset 6651:8782ba5cb222 double-precision

Importer scripts: add default encoding to correctly read gew-files
author Tom Gottfried <tom@intevation.de>
date Wed, 24 Jul 2013 18:39:42 +0200
parents b1fa193fa5db
children 765944ca6df0
files backend/contrib/import_river.sh backend/contrib/run_geo.sh backend/contrib/run_hydr_morph.sh
diffstat 3 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/backend/contrib/import_river.sh	Tue Jul 23 18:05:11 2013 +0200
+++ b/backend/contrib/import_river.sh	Wed Jul 24 18:39:42 2013 +0200
@@ -38,6 +38,9 @@
 
 MIN_MEMORY="8024m"
 
+# Default encoding. Change here if necessary
+export LC_ALL=de_DE@euro
+
 if [ -z "$OPTIONAL_LIBS" ]; then
     OPTIONAL_LIBS="$(dirname $0)/opt"
 fi
--- a/backend/contrib/run_geo.sh	Tue Jul 23 18:05:11 2013 +0200
+++ b/backend/contrib/run_geo.sh	Wed Jul 24 18:39:42 2013 +0200
@@ -29,6 +29,9 @@
 SKIP_JETTIES=0
 SKIP_FLOODMARKS=0
 
+# Default encoding. Change here if necessary
+export LC_ALL=de_DE@euro
+
 # There should be no need to change anything below this line
 
 DIR=`dirname $0`
--- a/backend/contrib/run_hydr_morph.sh	Tue Jul 23 18:05:11 2013 +0200
+++ b/backend/contrib/run_hydr_morph.sh	Wed Jul 24 18:39:42 2013 +0200
@@ -66,7 +66,8 @@
     export LD_LIBRARY_PATH="$OPTIONAL_LIBS/lib64:$LD_LIBRARY_PATH"
 fi
 
-export LC_ALL=de_DE@euro # Workaround encoding problem
+# Default encoding. Change here if necessary
+export LC_ALL=de_DE@euro
 
 exec java -jar \
     -Xmx$MIN_MEMORY \

http://dive4elements.wald.intevation.org