ndai | fad4a7a | 2006-01-21 06:29:17 +0000 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | # OS specific support. |
| 4 | lombozredhat=false; |
| 5 | eclipsesuse=false; |
| 6 | |
| 7 | osversion="`uname -a`" |
| 8 | |
| 9 | case "$osversion" in |
david_williams | 4c21a0e | 2006-04-16 01:46:30 +0000 | [diff] [blame^] | 10 | *i686*) |
| 11 | echo " Machine architecture i686 detected. Lomboz.org server assumed. " |
| 12 | lombozredhat=true;; |
| 13 | *ppc*) |
| 14 | echo " Machine architecture ppc detected. Eclilpse.org server assumed. " |
| 15 | eclipsesuse=true;; |
| 16 | *) |
| 17 | echo " Warning: possible program or setup error since unhandled os version: $osversion" |
ndai | fad4a7a | 2006-01-21 06:29:17 +0000 | [diff] [blame] | 18 | esac |
| 19 | |
| 20 | port="7000" |
| 21 | if $lombozredhat ; then |
| 22 | port="8000" |
| 23 | fi |
| 24 | |
ndai | a5b2766 | 2005-07-09 19:41:27 +0000 | [diff] [blame] | 25 | DISPLAY=127.0.0.1:1.0 |
| 26 | export DISPLAY |
ndai | fad4a7a | 2006-01-21 06:29:17 +0000 | [diff] [blame] | 27 | nohup sh $CCDIR/cruisecontrol.sh $BUILD_HOME/build-node/builder/releng.builder/tools/cruise/config.xml -port $port -user wtp -password ballad > cruise.out & |
ndai | d21a8e3 | 2006-01-04 21:59:51 +0000 | [diff] [blame] | 28 | |