On Tuesday, April 10, 2012 1:52:22 PM UTC+1, Wes Freeman wrote:
>
> Yes, do:
> env $PATH
> to see what your path looks like.
>

Hi guys,

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.......

Thanks

Paul

>
> It's possible that your .bash_profile was broken or something.
>
> Wes
>
> On Tue, Apr 10, 2012 at 8:43 AM, Michael P. Soulier <
> msoul...@digitaltorque.ca> wrote:
>
>> On 10/04/12 Paul Hollyer said:
>>
>> > Hi,
>> >
>> > I have a Centos5 server, with a number of repos set up to upload work 
>> to. I
>> > have come in to work this morning, having pushed updates to the server a
>> > few days ago, Easter Friday, and not touched the server since.
>> >
>> > When I tried to push work this morning, I got an error saying:
>> >
>> > git-receive-pack: command not found
>>
>> Have you checked your search path?
>>
>> 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 view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/sHYNFIjY2hQJ.
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