comparison contrib/make_flys_release/make_release.sh @ 8506:da9365fc2f42

(issue1777) Evaluate CLIENT_CONF environment variable
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 16 Dec 2014 14:27:13 +0100
parents c8d633c0971b
children 522c46c53861
comparison
equal deleted inserted replaced
8505:b1580e4d342a 8506:da9365fc2f42
169 for file in `find $WEBINF_DIR/ -type f`; do 169 for file in `find $WEBINF_DIR/ -type f`; do
170 sed -i -e "s@D4E_VERSION@${VERSION}@g" $file 170 sed -i -e "s@D4E_VERSION@${VERSION}@g" $file
171 done 171 done
172 fi 172 fi
173 173
174 if [ -f $CLIENT_CONF ]; then
175 echo "INFO: copy custom java script client configuration to target destination"
176 cp $CLIENT_CONF \
177 $FLYS_SOURCE_DIR/river/gwt-client/src/main/java/org/dive4elements/river/client/client/config.xml
178 fi
174 179
175 if [ ! -f $FLYS_SOURCE_DIR/OpenLayers-2.11.tar.gz ]; then 180 if [ ! -f $FLYS_SOURCE_DIR/OpenLayers-2.11.tar.gz ]; then
176 echo "INFO: download OpenLayers-2.11 for client" 181 echo "INFO: download OpenLayers-2.11 for client"
177 cd $FLYS_SOURCE_DIR 182 cd $FLYS_SOURCE_DIR
178 curl -O http://openlayers.org/download/OpenLayers-2.11.tar.gz 183 curl -O http://openlayers.org/download/OpenLayers-2.11.tar.gz

http://dive4elements.wald.intevation.org