Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem/bin/run-script @ 2199

Last change on this file since 2199 was 2199, checked in by adrfried, 16 years ago

paths modified, orxonox runs out of the build directory

  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 669 bytes
RevLine 
[2199]1#!/bin/sh
[775]2
[2199]3if [ ! -f orxonox ]; then
[775]4        echo "orxonox does not exist"
5        echo "did you compile it?"
6
7        exit 1
8fi
9
[2199]10if [ ! -f 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
[2199]16if [ ! -f plugins.cfg ]; then
17        if uname -n | grep -q "tardis"; then
[775]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
[1735]24
25trap "xset r && echo 'resetting autorepeat'" HUP INT TERM QUIT ABRT KILL ALRM
26./orxonox $@
Note: See TracBrowser for help on using the repository browser.