gstreamer/env
Andy Wingo 2694486583 env: New script, munges PYTHONPATH for uninstalled usage, and also $PACKAGES which is useful if you add `print-packag...
Original commit message from CVS:
2005-07-12  Andy Wingo  <wingo@pobox.com>

* env: New script, munges PYTHONPATH for uninstalled usage, and
also $PACKAGES which is useful if you add `print-packages` to your
$PS1 and drop http://wingolog.org/pub/print-packages into your
$PATH.
2005-07-12 14:56:57 +00:00

13 lines
202 B
Bash
Executable file

#!/bin/bash
thisdir=$(cd `dirname $0` && pwd)
if [[ -n $PYTHONPATH ]]; then
export PYTHONPATH=$thisdir:$PYTHONPATH
else
export PYTHONPATH=$thisdir
fi
export PACKAGES="pygst $PACKAGES"
exec "$@"