diff 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
line wrap: on
line diff
--- a/contrib/make_flys_release/make_release.sh	Tue Mar 04 17:58:10 2014 +0100
+++ b/contrib/make_flys_release/make_release.sh	Tue Mar 04 18:34:24 2014 +0100
@@ -215,6 +215,10 @@
 find $FLYS_SOURCE_DIR/river/ -name \*.properties -o -name \*.xsl |  \
     xargs sed -i "s@https://flys-intern.intevation.de@${WIKI_URL}@g";
 
+if [ -r "$CONFIG_YAML" ]; then
+    cp "$CONFIG_YAML" $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/config.yaml
+fi
+
 sed -i -e "s@/usr/share/fonts/truetype/freefont@${FONT_PATH}@g" \
     $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/config.yaml
 

http://dive4elements.wald.intevation.org