#!/bin/bash

thisdir=$(cd `dirname $0` && pwd)

if [[ -n $PYTHONPATH ]]; then
  export PYTHONPATH=$thisdir:$PYTHONPATH
else
  export PYTHONPATH=$thisdir
fi

export PKG_CONFIG_PATH=$thisdir/pkgconfig:$PKG_CONFIG_PATH

export PACKAGES="pygst $PACKAGES"

exec "$@"