Yeah, that will probably fix it. The longer answer is: you probably
shouldn't be running git as root (especially over ssh).

Wes

On Tue, Apr 10, 2012 at 10:06 AM, Michael P. Soulier <
msoul...@digitaltorque.ca> wrote:

> On 10/04/12 Paul Hollyer said:
>
> > Thanks for the quick replies, here is the result of env $PATH:
> >
> > env:
> >
> /root/local/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/rvm/bin:/root/bin:
> > No such file or directory
> >
> > I assumed re-installing git would make it add the required paths where
> > necessary again if they had been broken.
> >
> > Can you help me fix this?
> >
> > Git is at /usr/local/src I think, so how do I add this to the search
> path?
> > Sorry if it's a basic linux question, but am learning by doing, and
> > fixing.......
>
> If you're using bash, look at some basic bash documentation online.
>
> Short answer
>
> export PATH=$PATH:/usr/local/bin (I doubt it's src)
>
> Mike
>
> --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To post to this group, send email to git-users@googlegroups.com.
> To unsubscribe from this group, send email to
> git-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/git-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to