summaryrefslogtreecommitdiff
path: root/media-sound/teamspeak-client-bin/files/teamspeak3
blob: d598f01dfcf33eb64c192c1c222452beb1147c5f (plain)
1
2
3
4
5
6
7
8
9
10
#! /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" "$@"