diff options
Diffstat (limited to 'stackzy.sh')
-rw-r--r-- | stackzy.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/stackzy.sh b/stackzy.sh index 118d2f3ba387..4f3b2d4f4162 100644 --- a/stackzy.sh +++ b/stackzy.sh @@ -1,9 +1,8 @@ #!/bin/sh set -e _APPDIR="/opt/@appname@" -_RUNAPP="${_APPDIR}/bin/@runname@" +_RUNNAME="${_APPDIR}/bin/@runname@" export PATH="${_APPDIR}/bin:${PATH}" export LD_LIBRARY_PATH="${_APPDIR}/lib:${_APPDIR}/lib/runtime/lib:${LD_LIBRARY_PATH}" cd "${_APPDIR}" -exec "${_RUNAPP}" "$@" -exit
\ No newline at end of file +exec "${_RUNAPP}" "$@" || exit $?
\ No newline at end of file |