mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
2694486583
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.
13 lines
202 B
Bash
Executable file
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 "$@"
|