Last change
on this file since 82 was
56,
checked in by nicolasc, 18 years ago
|
some more cleanups in run script
note to myself: keep working in one place
|
-
Property svn:executable set to
*
|
File size:
526 bytes
|
Rev | Line | |
---|
[45] | 1 | #!/bin/bash |
---|
| 2 | |
---|
| 3 | if [[ ! -f main ]] ; then |
---|
| 4 | echo "main does not exist" |
---|
| 5 | echo "did you compile it?" |
---|
| 6 | |
---|
| 7 | exit 1 |
---|
| 8 | fi |
---|
| 9 | |
---|
| 10 | # check if plugins.cfg exists, and of not create it |
---|
| 11 | # and modify |
---|
| 12 | if [[ ! -f plugins.cfg ]] ; then |
---|
[56] | 13 | #is_tardis=`uname -n | grep tardis` |
---|
| 14 | #echo "isTardis: ${is_tardis}" |
---|
| 15 | if uname -n | grep "tardis" > /dev/null ; then |
---|
[46] | 16 | sed -e 's:PluginFolder=/usr/lib/OGRE:PluginFolder=/usr/pack/ogre-1.4.5-sd/i686-debian-linux3.1/lib/OGRE/:' plugins.cfg-init > plugins.cfg |
---|
[56] | 17 | else |
---|
| 18 | cp plugins.cfg-init plugins.cfg |
---|
[45] | 19 | fi |
---|
| 20 | fi |
---|
| 21 | exec ./main |
---|
Note: See
TracBrowser
for help on using the repository browser.