[Dive4elements-commits] [PATCH] Add DGM_PATH variable
Wald Commits
scm-commit at wald.intevation.org
Mon Apr 8 17:16:36 CEST 2013
# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1365434097 -7200
# Node ID a586153a277a3fcaa2acc5ff8c121da0cebb864f
# Parent 8f28535455eb88822ccb7695554fab6b49cf8cef
Add DGM_PATH variable
diff -r 8f28535455eb -r a586153a277a contrib/make_flys_release/make_release.sh
--- 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>
More information about the Dive4elements-commits
mailing list