Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@lycus.org>2014-06-13 21:22:43 +0400
committerAlex Rønne Petersen <alex@lycus.org>2014-06-13 21:22:43 +0400
commit9afaf85682f57d1ce3db3a99a852138e8bfedd31 (patch)
treee5e91ba201c138911235a54cec51dabc889c195e /scripts
parentdbdf33829b5047d86aaaf8dd7af2eb89664f6720 (diff)
[configure.cs] Try `/usr/bin/git` before falling back to `git`.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/configure.cs5
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";
}
}