Search for git in the install dir, so people can add their custom copy of git. closes #1126
This commit is contained in:
parent
06840064b5
commit
345b399b24
|
@ -83,6 +83,7 @@ namespace SparkleLib.Git {
|
||||||
protected string LocateCommand (string name)
|
protected string LocateCommand (string name)
|
||||||
{
|
{
|
||||||
string [] possible_command_paths = new string [] {
|
string [] possible_command_paths = new string [] {
|
||||||
|
Defines.INSTALL_DIR + "/bin/" + name;
|
||||||
"/usr/bin/" + name,
|
"/usr/bin/" + name,
|
||||||
"/usr/local/bin/" + name,
|
"/usr/local/bin/" + name,
|
||||||
"/opt/local/bin/" + name
|
"/opt/local/bin/" + name
|
||||||
|
|
Loading…
Reference in a new issue