Search for git in the install dir, so people can add their custom copy of git. closes #1126

This commit is contained in:
Hylke Bons 2013-01-03 13:34:31 +01:00
parent 06840064b5
commit 345b399b24

View file

@ -83,6 +83,7 @@ namespace SparkleLib.Git {
protected string LocateCommand (string name)
{
string [] possible_command_paths = new string [] {
Defines.INSTALL_DIR + "/bin/" + name;
"/usr/bin/" + name,
"/usr/local/bin/" + name,
"/opt/local/bin/" + name