Eli Mesika has submitted this change and it was merged.
Change subject: core: unlock_entity.sh fails if pwd is not...
......................................................................
core: unlock_entity.sh fails if pwd is not...
unlock_entity.sh script fails if executed from a directory other than
/usr/share/ovirt-engine/dbscripts
Actually, that's true for all shell scripts under dbscripts dir.
Code was changed to change to the dbscripts directory when a script
starts and restore the original directory upon script completion.
Change-Id: Iceeb2f28ce17dd117ecc2cded79077a9aca5e512
Signed-off-by: Eli Mesika <emesika(a)redhat.com>
---
M backend/manager/dbscripts/backup.sh
M backend/manager/dbscripts/create_db.sh
M backend/manager/dbscripts/create_db_devel.sh
M backend/manager/dbscripts/fkvalidator.sh
M backend/manager/dbscripts/refreshStoredProcedures.sh
M backend/manager/dbscripts/restore.sh
M backend/manager/dbscripts/unlock_entity.sh
M backend/manager/dbscripts/upgrade.sh
8 files changed, 34 insertions(+), 28 deletions(-)
Approvals:
Eli Mesika: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/11081
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iceeb2f28ce17dd117ecc2cded79077a9aca5e512
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>