View previous topic :: View next topic |
Author |
Message |
elboricua Apprentice
Joined: 17 May 2002 Posts: 226 Location: Bronx, NY
|
Posted: Fri Nov 15, 2002 7:11 pm Post subject: $PATH Question (Where is it getting values) |
|
|
I have a question about where Gentoo gets the default $PATH from. I need to edit out some old stuff that is there. Currently I have
Code: | $ echo $PATH
/bin:/usr/bin:/usr/local/bin:/opt/bin:/opt/RealPlayer8
:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1_beta/bin:
/opt/blackdown-jdk-1.4.1_beta/jre/bin:/usr/qt/3/bin:
/usr/kde/3/bin:/opt/sun-j2sdk-1.4.0/bin:/opt/sun-j2sdk-1.4.0/jre/bin |
[of course thats broken up for space reasons)
I want to remove the /opt/blackdown entries. They are no longer needed. I unmerged the blackdown jre and compiled java from scratch. That is where the /opt/sun-j2sdk-1.4.0 entries come from. I cannot for the life of me figure out where the /opt/blackdown entries are coming from....... _________________ Boricua Hasta La Muerte |
|
Back to top |
|
|
rtn Guru
Joined: 15 Nov 2002 Posts: 427
|
Posted: Fri Nov 15, 2002 7:28 pm Post subject: |
|
|
Check /etc/profile.env for bash or /etc/csh.env for tcsh/csh.
--rtn |
|
Back to top |
|
|
elboricua Apprentice
Joined: 17 May 2002 Posts: 226 Location: Bronx, NY
|
Posted: Fri Nov 15, 2002 7:48 pm Post subject: |
|
|
Thank you /etc/profile.env was the one I was busy looking at /etc/skel.bash_profile _________________ Boricua Hasta La Muerte |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Nov 15, 2002 8:23 pm Post subject: |
|
|
That's only a temporary solution, and will get overwritten the next time somebody calls env-update. There's probably a file in /etc/env.d that wants removing. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
fyerk Apprentice
Joined: 17 Sep 2002 Posts: 212 Location: Atlanta, GA
|
Posted: Fri Nov 15, 2002 8:32 pm Post subject: |
|
|
Look in /etc/env.d for the file 20java and any files in /etc/env.d/java _________________ -David |
|
Back to top |
|
|
elboricua Apprentice
Joined: 17 May 2002 Posts: 226 Location: Bronx, NY
|
Posted: Fri Nov 15, 2002 9:05 pm Post subject: |
|
|
Thanks guys I made the necessary changes in both places now. I love the gentoo community Everyone is so helpfull _________________ Boricua Hasta La Muerte |
|
Back to top |
|
|
|