changeset 5254:a859691ec4a0

Fix wiki url injection
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 12 Mar 2013 17:09:25 +0100
parents 6064ab3984b3
children f890d315240f
files contrib/make_flys_release/make_release.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/make_flys_release/make_release.sh	Tue Mar 12 16:59:40 2013 +0100
+++ b/contrib/make_flys_release/make_release.sh	Tue Mar 12 17:09:25 2013 +0100
@@ -176,7 +176,7 @@
     $FLYS_SOURCE_DIR/flys/flys-client/src/main/webapp/WEB-INF/log4j.properties
 
 find $FLYS_SOURCE_DIR/flys/flys-artifacts/src/main/resources/ -name messages_\*.properties \
-    -exec sed -i "s@https://flys-intern.intevation.de/Flys-3.0@${WIKI_URL}@g" {} \;
+    -exec sed -i "s@https://flys-intern.intevation.de/Flys-3.0@"'${WIKI_URL}'"@g" {} \;
 
 if [ ! -f $FLYS_SOURCE_DIR/OpenLayers-2.11.tar.gz ]; then
     echo "INFO: download OpenLayers-2.11 for client"

http://dive4elements.wald.intevation.org