summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2011-02-16 16:50:55 -0500
committerColin Walters <walters@verbum.org>2011-02-16 16:50:55 -0500
commitcafc91c766edbbe17921b6eba37eeb0febfa1e88 (patch)
treeb9cce4dee5adb61e93ed7f4673ed8cc4750ad9d8
parentbd24bc06e958cca88af7d6799478683ae25cb195 (diff)
downloadhomegit-MOVED-TO-GNOME-cafc91c766edbbe17921b6eba37eeb0febfa1e88.zip
homegit-MOVED-TO-GNOME-cafc91c766edbbe17921b6eba37eeb0febfa1e88.tar.gz
homegit-MOVED-TO-GNOME-cafc91c766edbbe17921b6eba37eeb0febfa1e88.tar.xz
bashrc: Distinguish between jhbuild and inroot
Only inroot sets INROOT_DIR.
-rw-r--r--dotfiles/bashrc8
1 files changed, 4 insertions, 4 deletions
diff --git a/dotfiles/bashrc b/dotfiles/bashrc
index 04e8d39..03b3b69 100644
--- a/dotfiles/bashrc
+++ b/dotfiles/bashrc
@@ -38,12 +38,12 @@ _format_wd ()
_format_inroot_dir ()
{
- if test -z "$INROOT_DIR" && test -n "$CERTIFIED_GNOMIE"; then
- # sort of a hack...
- INROOT_DIR="$MONO_GAC_PREFIX"
- fi
if test -n "$INROOT_DIR"; then
echo " [root=$INROOT_DIR]"
+ else
+ if test -n "$CERTIFIED_GNOMIE"; then
+ echo " [jhbuild=$MONO_GAC_PREFIX]"
+ fi
fi
}