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: Ie2cde8afc3cc2af4cef8343b94b0169363416c16
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M src/bin/otopi
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/otopi refs/changes/17/11317/1

diff --git a/src/bin/otopi b/src/bin/otopi
index 9c5b999..d68d161 100755
--- a/src/bin/otopi
+++ b/src/bin/otopi
@@ -57,7 +57,7 @@
 if [ -f "${scriptdir}/.source" ]; then
        export OTOPI_INSOURCETREE=1
        # make sure we are first
-       export PYTHONPATH="${scriptdir}/..:${PYTHONPATH}"
+       export PYTHONPATH="$(cd "${scriptdir}" && pwd)/..:${PYTHONPATH}"
        extraenv="BASE/pluginPath=str:${scriptdir}/../plugins"
 fi
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie2cde8afc3cc2af4cef8343b94b0169363416c16
Gerrit-PatchSet: 1
Gerrit-Project: otopi
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