pls see the update below
bashrc has the line
. ./bash_path_vars, where
But what I get in the new terminal is:
> echo $LD_LIBRARY_PATH :/usr/local/lib:/usr/local/lib
If you put that export statement directly inside
bashrc, there is no duplication!
I am puzzled. Why does this happen?
UPDATE: I am stupid, I had
. ./bash_path_vars two times in two different places. Of course, it resulted in duplication... Thanks to every one who replied to this question and sorry for not asking a better question!