This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository maintenancescripts. commit 7b739fbd1013b3175a4735d4f6d48db0ec58f4c6 Author: Mihai Moldovan <ionic@ionic.de> Date: Thu Feb 12 01:03:38 2015 +0100 killstalevms.bash: first playing around with dialog. --- killstalevms.bash | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/killstalevms.bash b/killstalevms.bash index 0379916..7c25ccf 100644 --- a/killstalevms.bash +++ b/killstalevms.bash @@ -40,3 +40,11 @@ for ((i = 0; i < ${#BUILDER_LIST[@]}; ++i)); do echo " Branch: ${BRANCH_LIST[$i]}" echo done + +DIALOGMENU="" + +for ((i = 0; i < ${#BUILDER_LIST[@]}; ++i)); do + DIALOGMENU="${DIALOGMENU} \"$i\" \"${VM_LIST[$i]}: ${COMPONENT_LIST[$i]} (${VERSION_LIST[$i]}) for ${BRANCH_LIST[$i]}\"" +done + +dialog --menu "Select VM to kill" 0 0 10 ${DIALOGMENU} -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git