From 079b38bc94d4c242c077f0dcc3cad124dd3b65ea Mon Sep 17 00:00:00 2001
From: kohleman <kohleman>
Date: Tue, 1 Sep 2009 14:12:35 +0000
Subject: [PATCH] changed properties dir to ~/config, script adapted

SVN: 12349
---
 openbis_all/source/bash/has-config-changed.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/openbis_all/source/bash/has-config-changed.sh b/openbis_all/source/bash/has-config-changed.sh
index 7dd009a9b40..1bde5274c36 100755
--- a/openbis_all/source/bash/has-config-changed.sh
+++ b/openbis_all/source/bash/has-config-changed.sh
@@ -4,6 +4,7 @@
 # Returns 0 if configuration is the one stored in the template file, 1 otherwise.
 
 is_update_needed="false"
+CONFIG_DIR=~/config
 
 function compare_configs {
 	local config_template=$1
@@ -24,8 +25,8 @@ function compare_configs {
 	fi
 }
 
-compare_configs datastore_server-service.properties sprint/datastore_server/etc/service.properties
-compare_configs service.properties sprint/openBIS-server/apache-tomcat/webapps/openbis/WEB-INF/classes/service.properties
+compare_configs $CONFIG_DIR/datastore_server-service.properties ~/sprint/datastore_server/etc/service.properties
+compare_configs $CONFIG_DIR/service.properties ~/sprint/openBIS-server/apache-tomcat/webapps/openbis/WEB-INF/classes/service.properties
 
 if [ "$is_update_needed" = "true" ]; then
   exit 1
-- 
GitLab