mirror of
https://aur.archlinux.org/warpgui-bin.git
synced 2025-10-02 04:41:54 +08:00
8 lines
No EOL
308 B
Bash
8 lines
No EOL
308 B
Bash
#!/bin/bash
|
|
set -o pipefail
|
|
_APPDIR="/usr/lib/@appname@"
|
|
_RUNNAME="${_APPDIR}/@runname@"
|
|
export PATH="${_APPDIR}:${PATH}"
|
|
export LD_LIBRARY_PATH="${_APPDIR}/lib/x86_64-linux:${LD_LIBRARY_PATH}"
|
|
cd "${_APPDIR}" || { echo "Failed to change directory to ${_APPDIR}"; exit 1; }
|
|
exec "${_RUNNAME}" "$@" || exit $? |