summarylogtreecommitdiffstats
path: root/quickpdfjoin.sh
blob: 51cc782cffca576ffe082ea3d336bf271f8926cf (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
set -o pipefail
_APPDIR="/usr/lib/@appname@"
_RUNNAME="${_APPDIR}/@runname@"
export PATH="${_APPDIR}:${PATH}"
export LD_LIBRARY_PATH="${_APPDIR}:${LD_LIBRARY_PATH}"
export LC_CTYPE=en_US.UTF-8
cd "${_APPDIR}" || { echo "Failed to change directory to ${_APPDIR}"; exit 1; }
exec "${_RUNNAME}" "$@" || exit $?