comparison contrib/make_flys_release/make_release.sh @ 5254:a859691ec4a0

Fix wiki url injection
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 12 Mar 2013 17:09:25 +0100
parents 8fa0c522bef3
children f890d315240f
comparison
equal deleted inserted replaced
5253:6064ab3984b3 5254:a859691ec4a0
174 174
175 sed -i -e "s@/tmp/flys-client.log@/var/log/flys/client-${VERSION}.log@g" \ 175 sed -i -e "s@/tmp/flys-client.log@/var/log/flys/client-${VERSION}.log@g" \
176 $FLYS_SOURCE_DIR/flys/flys-client/src/main/webapp/WEB-INF/log4j.properties 176 $FLYS_SOURCE_DIR/flys/flys-client/src/main/webapp/WEB-INF/log4j.properties
177 177
178 find $FLYS_SOURCE_DIR/flys/flys-artifacts/src/main/resources/ -name messages_\*.properties \ 178 find $FLYS_SOURCE_DIR/flys/flys-artifacts/src/main/resources/ -name messages_\*.properties \
179 -exec sed -i "s@https://flys-intern.intevation.de/Flys-3.0@${WIKI_URL}@g" {} \; 179 -exec sed -i "s@https://flys-intern.intevation.de/Flys-3.0@"'${WIKI_URL}'"@g" {} \;
180 180
181 if [ ! -f $FLYS_SOURCE_DIR/OpenLayers-2.11.tar.gz ]; then 181 if [ ! -f $FLYS_SOURCE_DIR/OpenLayers-2.11.tar.gz ]; then
182 echo "INFO: download OpenLayers-2.11 for client" 182 echo "INFO: download OpenLayers-2.11 for client"
183 cd $FLYS_SOURCE_DIR 183 cd $FLYS_SOURCE_DIR
184 curl -O http://openlayers.org/download/OpenLayers-2.11.tar.gz 184 curl -O http://openlayers.org/download/OpenLayers-2.11.tar.gz

http://dive4elements.wald.intevation.org