From eeaf7dcf19a08ed6fc8362c455091434a1878a55 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 7 Nov 2005 18:16:13 +0000 Subject: [PATCH] docs/faq/gst-uninstalled: fix up PS1 for systems that try to reset it Original commit message from CVS: * docs/faq/gst-uninstalled: fix up PS1 for systems that try to reset it --- ChangeLog | 5 +++++ docs/faq/gst-uninstalled | 14 +++++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 00211c15ea..f5eb73b9d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-11-07 Thomas Vander Stichele + + * docs/faq/gst-uninstalled: + fix up PS1 for systems that try to reset it + 2005-11-07 Wim Taymans * gst/base/gstbasesrc.c: (gst_base_src_init), diff --git a/docs/faq/gst-uninstalled b/docs/faq/gst-uninstalled index 3cbef0b1d2..bd4bf7a0a9 100755 --- a/docs/faq/gst-uninstalled +++ b/docs/faq/gst-uninstalled @@ -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