Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 56


Ignore:
Timestamp:
Oct 16, 2007, 5:24:07 PM (17 years ago)
Author:
nicolasc
Message:

some more cleanups in run script
note to myself: keep working in one place

Location:
code
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/tutorial/Tutorial/build/run-script

    r54 r56  
    1515# and modify
    1616if [[ ! -f plugins.cfg ]] ; then
    17         is_tardis=`uname -n | grep tardis`
    18         echo "isTardis: ${is_tardis}"
    19         if [[ is_tardis  ]] ; then
     17        if uname -n | grep "tardis" > /dev/null ; then
    2018                sed -e 's:PluginFolder=/usr/lib/OGRE:PluginFolder=/usr/pack/ogre-1.4.5-sd/i686-debian-linux3.1/lib/OGRE/:' \
    2119                -e 's:#Plugin=Plugin_CgProgramManager:Plugin=Plugin_CgProgramManager:' plugins.cfg-init > plugins.cfg
     20        else
     21                cp plugins.cfg-init plugins.cfg
    2222        fi
    2323fi
  • code/trunk/Tutorial/build/run-script

    r47 r56  
    1111# and modify
    1212if [[ ! -f plugins.cfg ]] ; then
    13         is_tardis=`uname -n | grep tardis`
    14         echo "isTardis: ${is_tardis}"
    15         if [[ is_tardis  ]] ; then
     13        #is_tardis=`uname -n | grep tardis`
     14        #echo "isTardis: ${is_tardis}"
     15        if uname -n | grep "tardis" > /dev/null ; then
    1616                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
     17        else
     18                cp plugins.cfg-init plugins.cfg
    1719        fi
    1820fi
Note: See TracChangeset for help on using the changeset viewer.