Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/network/bin/run-script @ 1494

Last change on this file since 1494 was 1494, checked in by rgrieder, 16 years ago
  • set the svn:eol-style property to all files so, that where ever you check out, you'll get the right line endings (had to change every file with mixed endings to windows in order to set the property)
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 659 bytes
RevLine 
[775]1#!/bin/bash
2
3if [[ !  -f orxonox ]] ; then
4        echo "orxonox does not exist"
5        echo "did you compile it?"
6
7        exit 1
8fi
9
[1482]10if [[ -ne orge.cfg ]] ; then
[775]11        cp ogre.cfg-init ogre.cfg
12fi
13
14# check if plugins.cfg exists, and of not create it
15# and modify
16if [[ ! -f plugins.cfg ]] ; then 
17        if uname -n | grep "tardis" > /dev/null ; then
18                sed -e 's:PluginFolder=/usr/lib/OGRE:PluginFolder=/usr/pack/ogre-1.4.5-sd/i686-debian-linux3.1/lib/OGRE/:' \
19                -e 's:#Plugin=Plugin_CgProgramManager:Plugin=Plugin_CgProgramManager:' plugins.cfg-init > plugins.cfg
20        else
21                cp plugins.cfg-init plugins.cfg
22        fi
23fi
[1293]24trap "xset r" EXIT HUP INT TERM ABRT KILL
[775]25exec ./orxonox $@
Note: See TracBrowser for help on using the repository browser.