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