diff contrib/make_flys_release/make_release.sh @ 5671:17c956be4692

Also make http part of the mapserver url replaceable
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 10 Apr 2013 14:48:00 +0200
parents a586153a277a
children 57803a199856
line wrap: on
line diff
--- 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@http://example.com/@http://${MAPSERVER_URL}/@g" \
+sed -i -e "s@http://example.com/@${MAPSERVER_URL}/@g" \
     $WORK_DIR/server/conf/floodmap.xml
 
-sed -i -e "s@http://example.com/@http://${MAPSERVER_URL}/@g" \
+sed -i -e "s@http://example.com/@${MAPSERVER_URL}/@g" \
     $WORK_DIR/server/conf/rivermap.xml
 
 sed -i -e "s@/usr/share/fonts/truetype/freefont@${FONT_PATH}@g" \

http://dive4elements.wald.intevation.org