From 5e6fadebe9594a2ae58ce5ab1d638f227a3a2080 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 20 Mar 2011 19:24:57 +0000 Subject: [PATCH] [osx] quickly fix the git path --- SparkleLib/SparklePaths.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SparkleLib/SparklePaths.cs b/SparkleLib/SparklePaths.cs index 3c4e1ea9..c21a9b20 100644 --- a/SparkleLib/SparklePaths.cs +++ b/SparkleLib/SparklePaths.cs @@ -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;