2005-07-11 23:04:29 +04:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
MACHINES=""
|
|
|
|
MACHINES="${MACHINES} naboo"
|
2005-07-13 01:22:41 +04:00
|
|
|
MACHINES="${MACHINES} dashsun1"
|
|
|
|
MACHINES="${MACHINES} midworld"
|
2005-07-12 01:12:17 +04:00
|
|
|
MACHINES="${MACHINES} muse"
|
2005-07-11 23:04:29 +04:00
|
|
|
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 "$@"
|