From 9afaf85682f57d1ce3db3a99a852138e8bfedd31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Fri, 13 Jun 2014 19:22:43 +0200 Subject: [configure.cs] Try `/usr/bin/git` before falling back to `git`. --- scripts/configure.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts') 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"; } } -- cgit v1.2.3