diff options
author | Alex Rønne Petersen <alex@lycus.org> | 2014-06-13 21:22:43 +0400 |
---|---|---|
committer | Alex Rønne Petersen <alex@lycus.org> | 2014-06-13 21:22:43 +0400 |
commit | 9afaf85682f57d1ce3db3a99a852138e8bfedd31 (patch) | |
tree | e5e91ba201c138911235a54cec51dabc889c195e /scripts | |
parent | dbdf33829b5047d86aaaf8dd7af2eb89664f6720 (diff) |
[configure.cs] Try `/usr/bin/git` before falling back to `git`.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/configure.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/configure.cs b/scripts/configure.cs index 4c407efc44..04e08f9992 100644 --- a/scripts/configure.cs +++ b/scripts/configure.cs @@ -253,7 +253,10 @@ namespace MonoDevelop.Configuration else GitExe = "git.exe"; } else { - GitExe = "git"; + if (File.Exists ("/usr/bin/git")) + GitExe = "/usr/bin/git"; + else + GitExe = "git"; } } |