[osx] quickly fix the git path

This commit is contained in:
Hylke Bons 2011-03-20 19:24:57 +00:00
parent 502b21fb5d
commit 5e6fadebe9

View file

@ -29,6 +29,12 @@ namespace SparkleLib {
get {
// QUICK RC1 HACK FIX
if (File.Exists ("/usr/local/git/bin/git"))
return "/usr/local/git/bin/git";
else if (File.Exists ("/usr/bin/git"))
return "/usr/bin/git";
Process process = new Process ();
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.UseShellExecute = false;