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