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