View Single Post
Old 6th June 2008
ai-danno's Avatar
ai-danno ai-danno is offline
Spam Deminer
 
Join Date: May 2008
Location: Boca Raton, Florida
Posts: 284
Default

Quote:
Originally Posted by aleunix View Post
Yes I know, but I wanted to make a test to see if the new content for the variable was taken without having to end the session instead nothing.

I'm a little confused by that reasoning, but oookay. A wrong path will show you no success whatsoever, in the current or future sessions.

Anyway, you can just execute the export PKG_PATH command at the command prompt for instant gratification (aka, being able to check right then without restarting a session.) This can be good in comparing various sources for packages (for completeness, latency, etc.)

However, this will only be good for the duration of the session- adding it to your /root/.profile will make it workable for every session in the future.

Sunnz asked "why not search the ports tree?" and suggested looking in /usr/ports ... but for those of us without a ports tree on their local system, this is the next best thing.
__________________
Network Firefighter
Reply With Quote