[PATCH] Use version-specific mapserver-URLs for release

Wald Commits scm-commit at wald.intevation.org
Wed Jun 18 15:20:11 CEST 2014


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1403097607 -7200
# Node ID 0f1a3bbfd2430541a8853a0518313ec4b28e3f36
# Parent  2235bc9b66c0acbd0e67203d7b329afee9becb2b
Use version-specific mapserver-URLs for release.

diff -r 2235bc9b66c0 -r 0f1a3bbfd243 contrib/make_flys_release/make_release.sh
--- a/contrib/make_flys_release/make_release.sh	Wed Jun 18 14:29:05 2014 +0200
+++ b/contrib/make_flys_release/make_release.sh	Wed Jun 18 15:20:07 2014 +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:-http://flys-devel.intevation.de}
+MAPSERVER_URL=${MAPSERVER_URL:-http://flys-devel.intevation.de/cgi-bin/flys-${VERSION}}
 WIKI_URL=${WIKI_URL:-https://flys3-devel.bafg.de/wiki}
 # Prefix to FreeSans.ttf
 FONT_PATH=${FONT_PATH:-/opt/flys}
@@ -324,10 +324,10 @@
 sed -i "s/8181/$ARTIFACT_PORT/g" \
     $WORK_DIR/server/conf/rest-server.xml
 
-sed -i -e "s at http://yourhost:8081/@${MAPSERVER_URL}/@g" \
+sed -i -e "s at http://yourhost:8081/cgi-bin@${MAPSERVER_URL}/@g" \
     $WORK_DIR/server/conf/floodmap.xml
 
-sed -i -e "s at http://yourhost:8081/@${MAPSERVER_URL}/@g" \
+sed -i -e "s at http://yourhost:8081/cgi-bin@${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