Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 12, 2008, 4:09:01 PM (16 years ago)
Author:
adrfried
Message:

paths modified, orxonox runs out of the build directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem/bin/run-script

    r1735 r2199  
    1 #!/bin/bash
     1#!/bin/sh
    22
    3 if [[ !  -f orxonox ]] ; then
     3if [ ! -f orxonox ]; then
    44        echo "orxonox does not exist"
    55        echo "did you compile it?"
     
    88fi
    99
    10 if [[ -ne orge.cfg ]] ; then
     10if [ ! -f orge.cfg ]; then
    1111        cp ogre.cfg-init ogre.cfg
    1212fi
     
    1414# check if plugins.cfg exists, and of not create it
    1515# and modify
    16 if [[ ! -f plugins.cfg ]] ; then
    17         if uname -n | grep "tardis" > /dev/null ; then
     16if [ ! -f plugins.cfg ]; then
     17        if uname -n | grep -q "tardis"; then
    1818                sed -e 's:PluginFolder=/usr/lib/OGRE:PluginFolder=/usr/pack/ogre-1.4.5-sd/i686-debian-linux3.1/lib/OGRE/:' \
    1919                -e 's:#Plugin=Plugin_CgProgramManager:Plugin=Plugin_CgProgramManager:' plugins.cfg-init > plugins.cfg
Note: See TracChangeset for help on using the changeset viewer.