Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 21, 2008, 12:22:22 AM (15 years ago)
Author:
rgrieder
Message:
  • Inserted IF when copying the config files from bin/ so existing files don't get overwritten.
  • Reorganised everything around the run-script: There are now folders in bin/ for each kind of distribution (tardis, linux, msvc and mingw). CMake will then copy the right files to the binary folder.
  • Removed ugly parts in the run-script since tardis now got its own one.
Location:
code/branches/buildsystem/bin/linux
Files:
1 added
1 moved

Legend:

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

    r2235 r2243  
    88fi
    99
    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         if uname -n | grep -q "tardis"; then
    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
    23 fi
    24 
    2510trap "xset r && echo 'resetting autorepeat'" HUP INT TERM QUIT ABRT KILL ALRM
    2611./orxonox $@
Note: See TracChangeset for help on using the changeset viewer.