Last change
on this file since 51 was
51,
checked in by nicolasc, 17 years ago
|
build-script has still some permission problems
fixed run-script that ogre.cfg does not get uploaded every time
|
-
Property svn:executable set to
*
|
File size:
525 bytes
|
Line | |
---|
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 | if [[ ! -f orge.cfg ]] ; then |
---|
11 | cp ogre.cfg-init ogre.cfg |
---|
12 | fi |
---|
13 | |
---|
14 | # check if plugins.cfg exists, and of not create it |
---|
15 | # and modify |
---|
16 | if [[ ! -f plugins.cfg ]] ; then |
---|
17 | is_tardis=`uname -n | grep tardis` |
---|
18 | echo "isTardis: ${is_tardis}" |
---|
19 | if [[ is_tardis ]] ; then |
---|
20 | 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 |
---|
21 | fi |
---|
22 | fi |
---|
23 | exec ./main |
---|
Note: See
TracBrowser
for help on using the repository browser.