Mercurial > dive4elements > river
changeset 7946:0f1a3bbfd243
Use version-specific mapserver-URLs for release.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 18 Jun 2014 15:20:07 +0200 |
parents | 2235bc9b66c0 |
children | a4764ab23eef |
files | contrib/make_flys_release/make_release.sh |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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@http://yourhost:8081/@${MAPSERVER_URL}/@g" \ +sed -i -e "s@http://yourhost:8081/cgi-bin@${MAPSERVER_URL}/@g" \ $WORK_DIR/server/conf/floodmap.xml -sed -i -e "s@http://yourhost:8081/@${MAPSERVER_URL}/@g" \ +sed -i -e "s@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" \