[Dive4elements-commits] [PATCH] Geo-importer: accept river names with white space

Wald Commits scm-commit at wald.intevation.org
Thu Apr 4 18:15:41 CEST 2013


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1365092135 -7200
# Node ID 673f68bb19a49387a57aa83cf2e98acf6db5fa03
# Parent  7be6785ad7b9b52e372a4791fd12985276cc72d0
Geo-importer: accept river names with white space

diff -r 7be6785ad7b9 -r 673f68bb19a4 flys-backend/contrib/import_river.sh
--- a/flys-backend/contrib/import_river.sh	Thu Apr 04 16:07:55 2013 +0200
+++ b/flys-backend/contrib/import_river.sh	Thu Apr 04 18:15:35 2013 +0200
@@ -328,7 +328,7 @@
 
     exec python $(dirname $0)/geodaesie/shpimporter.py \
     --directory $RIVER_PATH \
-    --river_name $RIVER_NAME \
+    --river_name "$RIVER_NAME" \
     --ogr_connection "$OGR_CONNECTION" \
     --host $DBHOST \
     --user $DBUSER \
diff -r 7be6785ad7b9 -r 673f68bb19a4 flys-backend/contrib/run_geo.sh
--- a/flys-backend/contrib/run_geo.sh	Thu Apr 04 16:07:55 2013 +0200
+++ b/flys-backend/contrib/run_geo.sh	Thu Apr 04 18:15:35 2013 +0200
@@ -46,7 +46,7 @@
 
 exec python $DIR/shpimporter/shpimporter.py \
     --directory $RIVER_PATH \
-    --river_name $RIVER_NAME \
+    --river_name "$RIVER_NAME" \
     --ogr_connection "$OGR_CONNECTION" \
     --host $HOST \
     --user $USER \


More information about the Dive4elements-commits mailing list