Eli Mesika has uploaded a new change for review.

Change subject: core: create_schema.sh do not support space in path
......................................................................

core: create_schema.sh do not support space in path

Wrapping MD5DIR value with "" to enable directory name that contains
spaces.

Change-Id: Iad69e7a596aee50682ee0669cc8a5ffff7462e0a
Signed-off-by: Eli Mesika <[email protected]>
---
M packaging/dbscripts/dbfunctions.sh
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/08/16608/1

diff --git a/packaging/dbscripts/dbfunctions.sh 
b/packaging/dbscripts/dbfunctions.sh
index 7ce554c..89fa426 100755
--- a/packaging/dbscripts/dbfunctions.sh
+++ b/packaging/dbscripts/dbfunctions.sh
@@ -266,7 +266,7 @@
 
 is_view_or_sp_changed() {
     files=$(get_files "upgrade" 3)
-    md5sum_file=${MD5DIR}/.${DATABASE}.scripts.md5
+    md5sum_file="${MD5DIR}"/.${DATABASE}.scripts.md5
     md5sum_tmp_file=${md5sum_file}.tmp
     md5sum $files create_*views.sql *_sp.sql > ${md5sum_tmp_file}
     diff -s -q ${md5sum_file} ${md5sum_tmp_file} >& /dev/null


-- 
To view, visit http://gerrit.ovirt.org/16608
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iad69e7a596aee50682ee0669cc8a5ffff7462e0a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to