summarylogtreecommitdiffstats
path: root/xraygui.sh
blob: 94daed5f3fe226a1ee07b9a4e0782e3f588641c9 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
set -o pipefail
_APPDIR=/opt/@appname@
_RUNNAME="${_APPDIR}/@runname@"
export PATH="${_APPDIR}:${PATH}"
export LD_LIBRARY_PATH="${_APPDIR}/swiftshader:${_APPDIR}/lib:${LD_LIBRARY_PATH}"
cd "${_APPDIR}"
exec "${_RUNNAME}" "$@" || exit $?