env_helper

Bradley Giesbrecht brad at pixilla.com
Wed Mar 18 13:00:46 PDT 2009


On Mar 18, 2009, at 11:44 AM, Rainer Müller wrote:

> Rainer Müller wrote:
[...]
>> A user would only need to add this line to his .profile to load  
>> MacPorts:
>>  [ -f /opt/local/etc/profile ] && source /opt/local/etc/profile
>
> What is left is the caching, I would still prefer that.

What is your idea as to when the cache gets updated?

I have mentioned user overrides so I would want the cache function to  
be aware of things that might happen outside the port command like a  
user editing a conf file.

I might not understand what you mean by caching. Since ~/.profile is  
only sourced when a shell is first opened is the complexity of a cache  
going to pay for itself?


//Brad


More information about the macports-dev mailing list