comparison contrib/make_flys_release/make_release.sh @ 6224:8f129977e76e

Default to a non internal wiki url
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 06 Jun 2013 17:29:24 +0200
parents bfec80563325
children 0aa9c5d8dccb
comparison
equal deleted inserted replaced
6223:e53a569bcb4b 6224:8f129977e76e
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:-http://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://flys3-devel.bafg.de/wiki}
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
74 SEDDBURL=${SEDDBURL:-czech-republic.atlas.intevation.de} 74 SEDDBURL=${SEDDBURL:-czech-republic.atlas.intevation.de}
201 201
202 if [ -r "$FEATURES_XML" ]; then 202 if [ -r "$FEATURES_XML" ]; then
203 cp "$FEATURES_XML" $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/features.xml 203 cp "$FEATURES_XML" $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/features.xml
204 fi 204 fi
205 205
206 # XXX: Are they really used at runtime?
207 find $FLYS_SOURCE_DIR/river/ -name \*.properties -o -name \*.xsl | \ 206 find $FLYS_SOURCE_DIR/river/ -name \*.properties -o -name \*.xsl | \
208 xargs sed -i "s@https://flys-intern.intevation.de@${WIKI_URL}@g"; 207 xargs sed -i "s@https://flys-intern.intevation.de@${WIKI_URL}@g";
209 208
210 sed -i -e "s@/usr/share/fonts/truetype/freefont@${FONT_PATH}@g" \ 209 sed -i -e "s@/usr/share/fonts/truetype/freefont@${FONT_PATH}@g" \
211 $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/config.yaml 210 $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/config.yaml

http://dive4elements.wald.intevation.org