comparison 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
comparison
equal deleted inserted replaced
5670:40e909e52e4e 5671:17c956be4692
63 # --seddb-port Sediment db port. Default: $SEDDBPORT 63 # --seddb-port Sediment db port. Default: $SEDDBPORT
64 # --seddb-user Sediment db user. Default: $SEDDBUSER 64 # --seddb-user Sediment db user. Default: $SEDDBUSER
65 # --seddb-pass Sediment db password. Default: $SEDDBPASS 65 # --seddb-pass Sediment db password. Default: $SEDDBPASS
66 # --seddb-back Sediment db backend. Default: $SEDDBBACK 66 # --seddb-back Sediment db backend. Default: $SEDDBBACK
67 TOMCAT_PORT=${TOMCAT_PORT:-8282} 67 TOMCAT_PORT=${TOMCAT_PORT:-8282}
68 MAPSERVER_URL=${MAPSERVER_URL:-flys-devel.intevation.de} 68 MAPSERVER_URL=${MAPSERVER_URL:-http://flys-devel.intevation.de}
69 WIKI_URL=${WIKI_URL:-https://flys-intern.intevation.de/Flys-3.0} 69 WIKI_URL=${WIKI_URL:-https://flys-intern.intevation.de/Flys-3.0}
70 # Prefix to FreeSans.ttf 70 # Prefix to FreeSans.ttf
71 FONT_PATH=${FONT_PATH:-/opt/flys} 71 FONT_PATH=${FONT_PATH:-/opt/flys}
72 72
73 # Seddb Configuration 73 # Seddb Configuration
262 cp -R $FLYS_SOURCE_DIR/flys/flys-artifacts/doc/conf $WORK_DIR/server/ 262 cp -R $FLYS_SOURCE_DIR/flys/flys-artifacts/doc/conf $WORK_DIR/server/
263 263
264 sed -i "s/8181/$ARTIFACT_PORT/g" \ 264 sed -i "s/8181/$ARTIFACT_PORT/g" \
265 $WORK_DIR/server/conf/rest-server.xml 265 $WORK_DIR/server/conf/rest-server.xml
266 266
267 sed -i -e "s@http://example.com/@http://${MAPSERVER_URL}/@g" \ 267 sed -i -e "s@http://example.com/@${MAPSERVER_URL}/@g" \
268 $WORK_DIR/server/conf/floodmap.xml 268 $WORK_DIR/server/conf/floodmap.xml
269 269
270 sed -i -e "s@http://example.com/@http://${MAPSERVER_URL}/@g" \ 270 sed -i -e "s@http://example.com/@${MAPSERVER_URL}/@g" \
271 $WORK_DIR/server/conf/rivermap.xml 271 $WORK_DIR/server/conf/rivermap.xml
272 272
273 sed -i -e "s@/usr/share/fonts/truetype/freefont@${FONT_PATH}@g" \ 273 sed -i -e "s@/usr/share/fonts/truetype/freefont@${FONT_PATH}@g" \
274 $WORK_DIR/server/conf/mapserver/fontset.txt 274 $WORK_DIR/server/conf/mapserver/fontset.txt
275 275

http://dive4elements.wald.intevation.org