summarylogtreecommitdiffstats
path: root/xnview-xnsketch.sh
blob: ff104c60e838101c2a8c835773b10438f8a5f8a5 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
set -o pipefail
_APPDIR="/usr/lib/@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 $?