comparison contrib/make_flys_release/make_release.sh @ 7778:35a7c05b5cd4

Remove FLYS-specific stuff from config.yaml and allow to give a custom file in release script.
author Tom Gottfried <tom@intevation.de>
date Tue, 04 Mar 2014 18:34:24 +0100
parents c7abf983d41b
children 9cce1b34e47b
comparison
equal deleted inserted replaced
7777:c7abf983d41b 7778:35a7c05b5cd4
213 fi 213 fi
214 214
215 find $FLYS_SOURCE_DIR/river/ -name \*.properties -o -name \*.xsl | \ 215 find $FLYS_SOURCE_DIR/river/ -name \*.properties -o -name \*.xsl | \
216 xargs sed -i "s@https://flys-intern.intevation.de@${WIKI_URL}@g"; 216 xargs sed -i "s@https://flys-intern.intevation.de@${WIKI_URL}@g";
217 217
218 if [ -r "$CONFIG_YAML" ]; then
219 cp "$CONFIG_YAML" $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/config.yaml
220 fi
221
218 sed -i -e "s@/usr/share/fonts/truetype/freefont@${FONT_PATH}@g" \ 222 sed -i -e "s@/usr/share/fonts/truetype/freefont@${FONT_PATH}@g" \
219 $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/config.yaml 223 $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/config.yaml
220 224
221 if [ ! -f $FLYS_SOURCE_DIR/OpenLayers-2.11.tar.gz ]; then 225 if [ ! -f $FLYS_SOURCE_DIR/OpenLayers-2.11.tar.gz ]; then
222 echo "INFO: download OpenLayers-2.11 for client" 226 echo "INFO: download OpenLayers-2.11 for client"

http://dive4elements.wald.intevation.org