diff options
Diffstat (limited to 'media-sound/teamspeak-client/files/ts3client-bin')
-rw-r--r-- | media-sound/teamspeak-client/files/ts3client-bin | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/media-sound/teamspeak-client/files/ts3client-bin b/media-sound/teamspeak-client/files/ts3client-bin new file mode 100644 index 000000000000..c59e278f390c --- /dev/null +++ b/media-sound/teamspeak-client/files/ts3client-bin @@ -0,0 +1,10 @@ +#!/bin/bash + +# Sets BASEDIR for teamspeak3-client +BASEDIR="/opt/teamspeak3-client" + +# Work around DT_RPATH (.) security issue by chdir'ing into expected $LD_LIBRARY_PATH +export LD_LIBRARY_PATH="${BASEDIR}${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}" + +# Launch teamspeak3-client +cd "${BASEDIR}" && exec "${BASEDIR}/ts3client" $* |