summarylogtreecommitdiffstats
path: root/yuvviewer.sh
blob: cbe9562cc5c42d208d9d1a69ec479840e63b651a (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
set -e
_APPDIR=/opt/@appname@
_RUNNAME="${_APPDIR}/@runname@"
export PATH="${_APPDIR}:${PATH}"
export QT_PLUGIN_PATH="${_APPDIR}/plugins:${PATH}"
export LD_LIBRARY_PATH="${_APPDIR}/lib:${LD_LIBRARY_PATH}"
cd "${_APPDIR}"
exec "${_RUNNAME}" "$@" || exit $?