1 2 3 4 5 6 7 8 9
#!/bin/sh appname=`basename "$0" | sed s,\.sh$,,` dirname="/opt/evelauncher" LD_LIBRARY_PATH="$dirname:$LD_LIBRARY_PATH" export LD_LIBRARY_PATH export QTDIR=$dirname export QT_PLUGIN_PATH=$dirname/plugins "$dirname/$appname" "$@"