[38109] trunk/base

Ryan Schmidt ryandesign at macports.org
Mon Jul 7 02:00:52 PDT 2008


On Jul 7, 2008, at 03:32, Randall Wood wrote:

> On Sun, Jul 6, 2008 at 10:23 PM, Ryan Schmidt wrote:
>
>> On Jul 6, 2008, at 19:39, Rainer Müller wrote:
>>
>>> Ryan Schmidt wrote:
>>>
>>>> Now does this work for tcsh too or just for bash?
>>>
>>> This is for bash only. I assume the majority of users have bash as
>>> default shell.
>>
>> Probably, but users who upgraded from Mac OS X 10.1.x or earlier
>> could still have tcsh as their default shell, and we should support
>> that.
>>
>>> I don't think we can write a script which will work with all shells
>>> out
>>> there, so additional versions for tcsh/zsh/ksh/... are welcomed.
>>>
>>> I renamed the file to setupenv.bash in r38114 to reflect this.
>
> Is there any mechanism for ports to manipulate the environment?


Do you mean to change the user's shell for them? It should be  
possible with NetInfo. But I don't think MacPorts should be the one  
to tell the user what shell to use.

Or did you mean something else?



More information about the macports-dev mailing list