Re: git version not changed after installing new version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> What do `which git` and `type git` say? Bash remembers where it ran a
> command so if you install a binary to a new location, it might not find
> it straight away.

which git => /usr/bin/git

type git => git is hashed (/usr/bin/git)

> So the script detected that no change was needed presumably. What's your
> $PATH and is /usr/local/bin/ before /usr/bin/?
 
echo $PATH => /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:
                         /usr/X11/bin:/usr/local/git/bin:/opt/local/bin

from the above output it is not before /usr/bin :(



--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]