Sieranski, Greg wrote:
I have the following in my .bash_profile
PATH=${JAVA_HOME}/bin:$HOME/opt/hg:/sbin:$HOME/bin:$PATH
...
when I do echo $PATH I get:
/home/gps/opt/jdk1.6.0_06/bin:/home/gps/opt/hg:/sbin:/home/gps/bin:/home/gps/opt/jdk1.6.0_06/bin:/home/gps/opt/hg:/sbin:/home/gps/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
if you notice I have the jdk, hg , ~/bin being added to the path
twice. Does anyone know why this is happening?
Are you calling "source .bash_profile" in your .bashrc? Don't.
Instead, source .bashrc from .bash_profile. You have it backward.
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list