#! /bin/sh

ARGS=""
for ARG in "$@"; do
	ARGS="$ARGS \"$ARG\""
done

echo "The client is installed in /usr/share/tpclient-pywx"
export TPCLIENT_GRAPHICS=/usr/share/tpclient-pywx/graphics
export TPCLIENT_DOC=/usr/share/doc/tpclient-pywx
echo "Graphics  are installed in $TPCLIENT_GRAPHICS"
echo "Documents are installed in $TPCLIENT_DOC"

cd /usr/share/tpclient-pywx
/usr/share/tpclient-pywx/tpclient-pywx $ARGS
