[Dive4elements-commits] [PATCH 1 of 3] Also make http part of the mapserver url replaceable

Wald Commits scm-commit at wald.intevation.org
Fri Apr 12 12:25:09 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1365598080 -7200
# Node ID 17c956be4692d58c17d15e43b5f788a985c42176
# Parent  40e909e52e4e1e4c4f17840e309ede489e49cfee
Also make http part of the mapserver url replaceable

diff -r 40e909e52e4e -r 17c956be4692 contrib/make_flys_release/make_release.sh
--- a/contrib/make_flys_release/make_release.sh	Fri Apr 12 09:42:20 2013 +0200
+++ b/contrib/make_flys_release/make_release.sh	Wed Apr 10 14:48:00 2013 +0200
@@ -65,7 +65,7 @@
 #   --seddb-pass                    Sediment db password. Default: $SEDDBPASS
 #   --seddb-back                    Sediment db backend. Default: $SEDDBBACK
 TOMCAT_PORT=${TOMCAT_PORT:-8282}
-MAPSERVER_URL=${MAPSERVER_URL:-flys-devel.intevation.de}
+MAPSERVER_URL=${MAPSERVER_URL:-http://flys-devel.intevation.de}
 WIKI_URL=${WIKI_URL:-https://flys-intern.intevation.de/Flys-3.0}
 # Prefix to FreeSans.ttf
 FONT_PATH=${FONT_PATH:-/opt/flys}
@@ -264,10 +264,10 @@
 sed -i "s/8181/$ARTIFACT_PORT/g" \
     $WORK_DIR/server/conf/rest-server.xml
 
-sed -i -e "s at http://example.com/@http://${MAPSERVER_URL}/@g" \
+sed -i -e "s at http://example.com/@${MAPSERVER_URL}/@g" \
     $WORK_DIR/server/conf/floodmap.xml
 
-sed -i -e "s at http://example.com/@http://${MAPSERVER_URL}/@g" \
+sed -i -e "s at http://example.com/@${MAPSERVER_URL}/@g" \
     $WORK_DIR/server/conf/rivermap.xml
 
 sed -i -e "s@/usr/share/fonts/truetype/freefont@${FONT_PATH}@g" \


More information about the Dive4elements-commits mailing list