[PATCH] Importer scripts: add default encoding to correctly read gew-files
Wald Commits
scm-commit at wald.intevation.org
Wed Jul 24 18:39:46 CEST 2013
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1374683982 -7200
# Branch double-precision
# Node ID 8782ba5cb22200dfe7421c79642a4d329f454174
# Parent b1fa193fa5dbef5c5475833ba53261a156db8286
Importer scripts: add default encoding to correctly read gew-files
diff -r b1fa193fa5db -r 8782ba5cb222 backend/contrib/import_river.sh
--- 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 at euro
+
if [ -z "$OPTIONAL_LIBS" ]; then
OPTIONAL_LIBS="$(dirname $0)/opt"
fi
diff -r b1fa193fa5db -r 8782ba5cb222 backend/contrib/run_geo.sh
--- 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 at euro
+
# There should be no need to change anything below this line
DIR=`dirname $0`
diff -r b1fa193fa5db -r 8782ba5cb222 backend/contrib/run_hydr_morph.sh
--- 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 at euro # Workaround encoding problem
+# Default encoding. Change here if necessary
+export LC_ALL=de_DE at euro
exec java -jar \
-Xmx$MIN_MEMORY \
More information about the Dive4elements-commits
mailing list