Hi: I am having a problem with the .bashrc file on my SuSE 7.3 computer. I use the following entry at the end of my .bashrc but it puts $KDEDIR and $QTDIR in my path twice! What have I done wrong? export QTDIR=/home/kdetest/qt-x11-free-3.0.1 echo $QTDIR export KDEDIR=/home/kdetest/kde-copy echo $KDEDIR export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH export LD_LIBRARY_PATH=$KDEDIR/lib:$QTDIR/lib:$LD_LIBRARY_PATH export MANPATH=$QTDIR/doc/man/:$MANPATH If I just put this in a file called kde3-compile and do: source kde3-compile the double inclusion of the the added paths does not happen. TIA for any advice. Jonathan
Jonathan wrote:
Hi:
I am having a problem with the .bashrc file on my SuSE 7.3 computer. I use the following entry at the end of my .bashrc but it puts $KDEDIR and $QTDIR in my path twice! What have I done wrong?
I've noticed this behavior myself. I just moved my rc stuff to .bash_login and I've been fine since. It would be nice to know why .bashrc gets execed twice though. Anyone know? -- JAY VOLLMER JVOLLMER1@MN.RR.COM TEXT REFS DOUBLEPLUSUNGOOD SELFTHINK VERGING CRIMETHINK IGNORE FULLWISE
On Friday 01 February 2002 23:16, you wrote:
I've noticed this behavior myself. I just moved my rc stuff to .bash_login and I've been fine since. It would be nice to know why .bashrc gets execed twice though.
Anyone know?
Jay: I wrote to my local UNIX group and they suspect (they are not sure) that .bashrc is being run twice. They wrote: ++++++++++++++++++++++++++ I assume that the paths are getting echoed twice also? If so, your .bashrc is running twice for some reason. Perhaps once from /etc/profile and once from ~/.profile or ~/.bash_profile. ++++++++++++++++++++++++++ Which is indeed the case. How could that happen? Why would .bashrc be run twice?
participants (2)
-
Jay C Vollmer
-
Jonathan