Improve localize scripts
Improve scripts to avoid unecessary WAR repackaging. Tomcat extracts WAR content
when deployed so there is no need to repackage whole WAR (time-costly operation)
in order to update template properties
Issue-ID: VID-164
Change-Id: I2aa2db915ba7408cf9da51a28695c4890c369312
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
diff --git a/deliveries/src/main/scripts/localize_quartz.sh b/deliveries/src/main/scripts/localize_quartz.sh
index c284e6c..c22d879 100755
--- a/deliveries/src/main/scripts/localize_quartz.sh
+++ b/deliveries/src/main/scripts/localize_quartz.sh
@@ -1,7 +1,7 @@
#!/bin/bash
-FINAL_CONFIG_FILE=/tmp/vid/stage/WEB-INF/conf/quartz.properties
-TEMPLATE_CONFIG_FILE=/tmp/vid/stage/WEB-INF/conf/quartz_template.properties
+FINAL_CONFIG_FILE=$1/conf/quartz.properties
+TEMPLATE_CONFIG_FILE=$1/conf/quartz_template.properties
echo "Localizing the VID quartz configuration"