diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-07-11 19:04:29 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-07-11 19:04:29 (GMT) |
commit | 5a3a0151f4e8471af72b6b79069195975a920917 (patch) | |
tree | 43747755e3ad7210f5f4fd17c6153c468cd7867a /Utilities/Release | |
parent | 3e9936848544e861fda0a70d41262b9824580c6e (diff) | |
download | CMake-5a3a0151f4e8471af72b6b79069195975a920917.zip CMake-5a3a0151f4e8471af72b6b79069195975a920917.tar.gz CMake-5a3a0151f4e8471af72b6b79069195975a920917.tar.bz2 |
add from branch
Diffstat (limited to 'Utilities/Release')
-rwxr-xr-x | Utilities/Release/release_dispatch.sh | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/Utilities/Release/release_dispatch.sh b/Utilities/Release/release_dispatch.sh new file mode 100755 index 0000000..37a4ced --- /dev/null +++ b/Utilities/Release/release_dispatch.sh @@ -0,0 +1,37 @@ +#!/bin/sh + +MACHINES="" +MACHINES="${MACHINES} naboo" +MACHINES="${MACHINES} shannara" +MACHINES="${MACHINES} krondor" +MACHINES="${MACHINES} rapture" +MACHINES="${MACHINES} destiny" + +run() +{ + CMD="'$1'"; shift; for i in "$@"; do CMD="${CMD} '$i'"; done + eval "$CMD" +} + +clean() +{ + for m in $MACHINES; do + ./cmake_release.sh remote $m clean + done +} + +binary() +{ + for m in $MACHINES; do + nohup ./cmake_release.sh remote_binary $m >$m.log 2>&1 & + done +} + +logs() +{ + for m in $MACHINES; do + nohup xterm -geometry 80x10 -title "$m" -e tail -f $m.log >/dev/null 2>&1 & + done +} + +[ ! -z "$1" ] && run "$@" |