Changeset 2199 for code/branches/buildsystem/bin
- Timestamp:
- Nov 12, 2008, 4:09:01 PM (16 years ago)
- Location:
- code/branches/buildsystem/bin
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem/bin/run-script
r1735 r2199 1 #!/bin/ bash1 #!/bin/sh 2 2 3 if [ [ ! -f orxonox ]]; then3 if [ ! -f orxonox ]; then 4 4 echo "orxonox does not exist" 5 5 echo "did you compile it?" … … 8 8 fi 9 9 10 if [ [ -ne orge.cfg ]]; then10 if [ ! -f orge.cfg ]; then 11 11 cp ogre.cfg-init ogre.cfg 12 12 fi … … 14 14 # check if plugins.cfg exists, and of not create it 15 15 # and modify 16 if [ [ ! -f plugins.cfg ]] ; then17 if uname -n | grep "tardis" > /dev/null; then16 if [ ! -f plugins.cfg ]; then 17 if uname -n | grep -q "tardis"; then 18 18 sed -e 's:PluginFolder=/usr/lib/OGRE:PluginFolder=/usr/pack/ogre-1.4.5-sd/i686-debian-linux3.1/lib/OGRE/:' \ 19 19 -e 's:#Plugin=Plugin_CgProgramManager:Plugin=Plugin_CgProgramManager:' plugins.cfg-init > plugins.cfg
Note: See TracChangeset
for help on using the changeset viewer.