Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
$PATH Question (Where is it getting values)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
elboricua
Apprentice
Apprentice


Joined: 17 May 2002
Posts: 226
Location: Bronx, NY

PostPosted: Fri Nov 15, 2002 7:11 pm    Post subject: $PATH Question (Where is it getting values) Reply with quote

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
View user's profile Send private message
rtn
Guru
Guru


Joined: 15 Nov 2002
Posts: 427

PostPosted: Fri Nov 15, 2002 7:28 pm    Post subject: Reply with quote

Check /etc/profile.env for bash or /etc/csh.env for tcsh/csh.

--rtn
Back to top
View user's profile Send private message
elboricua
Apprentice
Apprentice


Joined: 17 May 2002
Posts: 226
Location: Bronx, NY

PostPosted: Fri Nov 15, 2002 7:48 pm    Post subject: Reply with quote

Thank you :-D /etc/profile.env was the one :) I was busy looking at /etc/skel.bash_profile :oops:
_________________
Boricua Hasta La Muerte
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Nov 15, 2002 8:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
fyerk
Apprentice
Apprentice


Joined: 17 Sep 2002
Posts: 212
Location: Atlanta, GA

PostPosted: Fri Nov 15, 2002 8:32 pm    Post subject: Reply with quote

Look in /etc/env.d for the file 20java and any files in /etc/env.d/java
_________________
-David
Back to top
View user's profile Send private message
elboricua
Apprentice
Apprentice


Joined: 17 May 2002
Posts: 226
Location: Bronx, NY

PostPosted: Fri Nov 15, 2002 9:05 pm    Post subject: Reply with quote

Thanks guys :D I made the necessary changes in both places now. I love the gentoo community :) Everyone is so helpfull :D:D:D:D:D
_________________
Boricua Hasta La Muerte
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum