On Aug 14, 2005, at 2:48 PM, Charles Bailey wrote:
> On 8/12/05, Dave Camp <dave@thinbits.com> wrote:
>
>> On Aug 11, 2005, at 5:59 PM, Paul Beckingham wrote:
>>
>>
>>> I have recently needed to rebuild an OS X (10.4.2) machine after a
>>> disk failure. Everything is back, my repository backup was good,
>>> and I am all set except for one thing: I remember making a change
>>> to a single ssh config file, so that ssh ran with a modified path,
>>> and therefore found svnserve.
>>>
>>> Could someone remind me what it was I did, so I can restore my
>>> shared repository via svn+ssh?
>>>
>>
>> Good thing I saved these...
>>
>> Depending on what your default shell is, you need to modify (or add)
>> the PATH variable in the following files (taken from an Xserve at
>> work):
>>
>> /etc/bashrc:export PATH=$PATH:/usr/local/bin
>> /etc/csh.cshrc: setenv PATH "$PATH"":/usr/local/bin"
>> /etc/csh.login:setenv PATH "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/
>> bin"
>>
>> Some people have indicated that editing your local .XXXrc files will
>> work too, but that has not been my experience on any stock OS X
>> machines at work, but that was over a year ago.
>>
>
> You may also be able to get there via the ~/.MacOSX/environment.plist,
> if for some reason you can't edit the shell rc files. (Not tested;
> I'm not sure whether this file is read before a search for svnserve is
> done, but I suspect that if /etc/foosh is early enough, this will be ,
> too.
The ~/.MacOSX/environment.plist is only used by GUI apps and should
have no relevance here.
stephen
Received on Mon Aug 15 00:33:16 2005