Do not provide `LD_LIBRARY_PATH=/lib' on unset `$HOME'.
authorlace <>
Wed, 27 Dec 2006 17:52:49 +0000 (17:52 +0000)
committerlace <>
Wed, 27 Dec 2006 17:52:49 +0000 (17:52 +0000)
 - Workarounds: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=220675

.bashrc

diff --git a/.bashrc b/.bashrc
index 76f0d10..cb16073 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -84,8 +84,8 @@ _bash_profile_addpath -s JAVA_HOME       "/usr/java"
 _bash_profile_addpath -s JAVA_HOME       "/usr/local/java"
 uname_p="`uname -p 2>/dev/null || uname -m`"
 [ "`uname`" = "SunOS" ] && _bash_profile_addpath -f LD_LIBRARY_PATH "$HOME/Netscape/dist/lib"
-for family in "$HOME";do
-       for arch in "$family" $family/$uname_p;do
+for family in $HOME;do
+       for arch in $family $family/$uname_p;do
                # Do not "-f": We use /net !
                _bash_profile_addpath PATH            "$arch/bin"
                _bash_profile_addpath PATH            "$arch/OpenOffice.org"