env 262 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
#!/bin/bash

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

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

11 12
export PKG_CONFIG_PATH=$thisdir/pkgconfig:$PKG_CONFIG_PATH

13 14 15
export PACKAGES="pygst $PACKAGES"

exec "$@"