Alon Bar-Lev has uploaded a new change for review.

Change subject: core: support separate execution directory in development mode
......................................................................

core: support separate execution directory in development mode

Change-Id: Ieaf26cfc08f9689f9ca0208269c30f632350eb4a
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M src/bin/ovirt-host-deploy.in
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-host-deploy 
refs/changes/18/11318/1

diff --git a/src/bin/ovirt-host-deploy.in b/src/bin/ovirt-host-deploy.in
index d3c9985..aa0d152 100644
--- a/src/bin/ovirt-host-deploy.in
+++ b/src/bin/ovirt-host-deploy.in
@@ -28,7 +28,7 @@
        else
                otopidir="${OTOPI_SOURCES}/src/bin"
        fi
-       export PYTHONPATH="${scriptdir}/..:${PYTHONPATH}"
+       export PYTHONPATH="$(cd "${scriptdir}" && pwd)/..:${PYTHONPATH}"
        extraenv="APPEND:BASE/pluginPath=str:${scriptdir}/../plugins"
 fi
 exec "${otopidir}/otopi" "${extraenv} 
APPEND:BASE/pluginGroups=str:ovirt-host-deploy $*"


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ieaf26cfc08f9689f9ca0208269c30f632350eb4a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-host-deploy
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to