gentoo-overlay/media-sound/teamspeak-client-bin/files/teamspeak3

11 lines
258 B
Plaintext
Raw Permalink Normal View History

2017-02-27 11:28:41 +00:00
#! /bin/sh
BASEDIR="/opt/teamspeak3-client"
export LD_LIBRARY_PATH="${BASEDIR}${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"
# work around DT_RPATH (.) security issue by chdir'ing into expected $LD_LIBRARY_PATH
cd "${BASEDIR}"
exec "${BASEDIR}/ts3client" "$@"