mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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.
This commit is contained in:
parent
76ea628334
commit
2694486583
2 changed files with 18 additions and 0 deletions
|
@ -1,5 +1,10 @@
|
||||||
2005-07-12 Andy Wingo <wingo@pobox.com>
|
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.
|
||||||
|
|
||||||
* configure.ac (AC_CONFIG_FILES): The makefile handles pygst.py
|
* configure.ac (AC_CONFIG_FILES): The makefile handles pygst.py
|
||||||
now.
|
now.
|
||||||
|
|
||||||
|
|
13
env
Executable file
13
env
Executable file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/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 "$@"
|
Loading…
Reference in a new issue