15.02.2013, 06:23
I am trying to set the path in with adding lines in .bash_profile
Where test.env is just a few of lines,
The last line in test.env is to make sure the desired path is added in
every login. Actually, I got what I want when login as following text
is shown
However, when the prompt comes up, I type "set" to further check,
Originally, the system work fine with the setting. I don't what
changes that sucks the system.
some clues might help?
Regards.
Код:
if [ -f ~/.bashrc ]; then . ~/.bashrc fi if [ -f ~/test.env ]; then ~/test.env fi PATH=$PATH:$HOME/bin export PATH
Код:
export TOOLCHAIN_PATH=/1234567 export PATH=${TOOLCHAIN_PATH}/bin:$PATH echo PATH=${PATH}
every login. Actually, I got what I want when login as following text
is shown
Код:
PATH=/1234567/bin:/user/kerberos/bin:/user/local/bin:/bin:/usr/bin
Код:
PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/shane/bin
changes that sucks the system.
some clues might help?
Regards.