docs/faq/gst-uninstalled: fix up PS1 for systems that try to reset it
authorThomas Vander Stichele <thomas@apestaart.org>
Mon, 7 Nov 2005 18:16:13 +0000 (18:16 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Mon, 7 Nov 2005 18:16:13 +0000 (18:16 +0000)
Original commit message from CVS:

* docs/faq/gst-uninstalled:
fix up PS1 for systems that try to reset it

ChangeLog
docs/faq/gst-uninstalled

index 00211c1..f5eb73b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * docs/faq/gst-uninstalled:
+         fix up PS1 for systems that try to reset it
+
 2005-11-07  Wim Taymans  <wim@fluendo.com>
 
        * gst/base/gstbasesrc.c: (gst_base_src_init),
index 3cbef0b..bd4bf7a 100755 (executable)
@@ -42,10 +42,8 @@ fi
 PATH=$GST/gstreamer/tools:$GST/gst-plugins/tools:$GST/gst-player/src:$GST/gst-editor/src:$GST/prefix/bin:$PATH
 # /some/path: makes the dynamic linker look in . too, so avoid this
 export LD_LIBRARY_PATH=$GST/prefix/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
-export PKG_CONFIG_PATH=$GST/prefix/lib/pkgconfig:$GST/gstreamer/pkgconfig:$GST/gst-plugins/pkgconfig:$GST/gst-plugins-base/pkgconfig:$GST/gst-python/pkgconfig:$PKG_CONFIG_PATH
-export GST_PLUGIN_PATH=$GST/gstreamer:$GST/gst-plugins:$GST/gst-plugins-base:$GST/gst-plugins-good:$GST/gst-plugins-ugly:$GST/gst-plugins-bad:$GST/gst-ffmpeg:$GST/gst-monkeysaudio:$GST/plugins:$GST_PLUGIN_PATH
-export GST_PLUGIN_SYSTEM_PATH=
-export GST_REGISTRY=$GST/gstreamer/registry.xml
+export PKG_CONFIG_PATH=$GST/prefix/lib/pkgconfig:$GST/gstreamer/pkgconfig:$GST/gst-plugins/pkgconfig:$GST/gst-python/pkgconfig:$GST/gnonlin:$PKG_CONFIG_PATH
+export GST_PLUGIN_PATH=$GST/gstreamer:$GST/gst-plugins:$GST/gst-ffmpeg:$GST/gst-monkeysaudio:$GST/gnonlin:$GST/plugins:$GST_PLUGIN_PATH
 export MANPATH=$GST/gstreamer/tools:$GST/prefix/share/man:$MANPATH
 pythonver=`python -c "import sys; print sys.version[:3]"`
 export PYTHONPATH=$GST/gst-python:$GST/prefix/lib/python$pythonver/site-packages:$PYTHONPATH
@@ -60,4 +58,10 @@ fi
 # set up prompt to help us remember we're in a subshell, cd to
 # the gstreamer base dir and start $SHELL
 cd $GST
-PS1="[gst-$VERSION] $PS1" $SHELL
+shell=$SHELL
+if test "x$SHELL" == "x/bin/bash"
+then
+  # debian/ubuntu resets our PS1.  bastards.
+  shell="$SHELL --norc --noprofile"
+fi
+PS1="[gst-$VERSION] $PS1" $shell