diff contrib/make_flys_release/make_release.sh @ 5602:a586153a277a

Add DGM_PATH variable
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 08 Apr 2013 17:14:57 +0200
parents 7f8d6b49afad
children 17c956be4692
line wrap: on
line diff
--- a/contrib/make_flys_release/make_release.sh	Mon Apr 08 17:02:08 2013 +0200
+++ b/contrib/make_flys_release/make_release.sh	Mon Apr 08 17:14:57 2013 +0200
@@ -86,6 +86,7 @@
 BACKENDUSER=${BACKENDUSER:-flys_dami}
 BACKENDPASS=${BACKENDPASS:-flys_dami}
 INITSQLS=${INITSQLS:-}
+DGM_PATH=${DGM_PATH:-/opt/flys/gewaesser}
 LOG_DIR=/var/log/flys
 
 OPTS=`getopt -o ?w:,t,o \
@@ -282,6 +283,9 @@
     $SCRIPT_DIR/confs/log4j.properties \
     > $WORK_DIR/server/conf/log4j.properties
 
+sed -i -e "s@<dgm-path>/path/to/rivers/</dgm-path>@<dgm-path>${DGM_PATH}</dgm-path>@g" \
+    $WORK_DIR/server/conf/conf.xml
+
 cat > $WORK_DIR/server/conf/seddb-db.xml << EOF
 <?xml version="1.0" encoding="UTF-8" ?>
 <seddb-database>

http://dive4elements.wald.intevation.org