# HG changeset patch # User Sascha L. Teichmann # Date 1352888406 -3600 # Node ID 334c68344eb5124be529d5668e7bef45096ca894 # Parent b15f82f0d652f96b677d29b7e2cd979e4325b77c Fix hard coded mapserver url diff -r b15f82f0d652 -r 334c68344eb5 contrib/make_flys_release/make_release.sh --- a/contrib/make_flys_release/make_release.sh Wed Nov 14 11:01:51 2012 +0100 +++ b/contrib/make_flys_release/make_release.sh Wed Nov 14 11:20:06 2012 +0100 @@ -17,6 +17,8 @@ ARTEFACT_PORT=${ARTEFACT_PORT:-9002} TOMCAT_PORT=${TOMCAT_PORT:-8005} +MAPSERVER_URL=${MAPSERVER_URL:-czech-republic.intevation.de} + echo "INFO: create server directories" mkdir -p $DIRECTORY/server/bin/lib/own mkdir $DIRECTORY/server/shapefiles @@ -100,7 +102,7 @@ confs/rest-server.xml \ > $DIRECTORY/server/conf/rest-server.xml -sed "s@http://czech-republic.intevation.de/@http://flys-devel.intevation.de/@g" \ +sed "s@http://czech-republic.intevation.de/@http://${MAPSERVER_URL}/@g" \ "s@flys-default@flys-$RELEASE@g" \ confs/floodmap.xml \ > $DIRECTORY/server/conf/floodmap.xml