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

Change subject: core: use more generic executor
......................................................................

core: use more generic executor

will be handy when more than one operation is supported.

Change-Id: I04637f1b9a0699df7713e5bdfcf24fa58e453293
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M configure.ac
R src/bin/executor.in
2 files changed, 2 insertions(+), 2 deletions(-)


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

diff --git a/configure.ac b/configure.ac
index b7adae7..2182ef3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -186,7 +186,7 @@
        tests/Makefile
 ])
 AC_CONFIG_FILES(
-       [src/bin/ovirt-host-deploy],
+       [src/bin/ovirt-host-deploy:src/bin/executor.in],
        [chmod a+x src/bin/ovirt-host-deploy]
 )
 AC_OUTPUT
diff --git a/src/bin/ovirt-host-deploy.in b/src/bin/executor.in
similarity index 97%
rename from src/bin/ovirt-host-deploy.in
rename to src/bin/executor.in
index 3bb0ad9..ea3ac09 100644
--- a/src/bin/ovirt-host-deploy.in
+++ b/src/bin/executor.in
@@ -40,4 +40,4 @@
        export PYTHONPATH="$(cd "${scriptdir}" && pwd)/..:${PYTHONPATH}"
        extraenv="\"PREPEND:BASE/pluginPath=str:${scriptdir}/../plugins\""
 fi
-exec "${otopidir}/otopi" "${extraenv} 
APPEND:BASE/pluginGroups=str:ovirt-host-deploy $*"
+exec "${otopidir}/otopi" "${extraenv} APPEND:BASE/pluginGroups=str:$(basename 
"$0") $*"


-- 
To view, visit https://gerrit.ovirt.org/39952
To unsubscribe, visit https://gerrit.ovirt.org/settings

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

Reply via email to