[osg-users] Aircraft Simulation Control by MatrixTransform

Ulrich Hertlein u.hertlein at sandbox.de
Fri May 2 23:02:11 PDT 2008


Zoltán wrote:
> zSim-data directory, where the zSim wrapper-script is. I'll 
> change to your suggestion (exec ./zSim.bin), it's better. 
> On my system it works, even if zSim.bin is not in the 
> $PATH. Strange.

Even better would be to make it independent of where the wrapper script is 
executed from.  Say you're in $HOME and execute ./zsim/zsim, the wrapper would 
try to execute ./zsim and fail.

If you replace that line with "exec `dirname $0`/zsim" is pretty failsafe.

/ulrich


More information about the osg-users mailing list