Bashbindir=`dirname "$me"`libdir=`cd "${bindir}/lib" ; pwd`LD_LIBRARY_PATH="${libdir}:${LD_LIBRARY_PATH}"export LD_LIBRARY_PATH#exec "${bindir}" ${1+"$@"} prog2run=`"${bindir}/my_application"`exec $prog2run