default path to git

avoid it stays null when not found in paths[]
This commit is contained in:
wimh 2011-08-26 22:10:33 +02:00
parent 1e32374e81
commit 79e96b3bf0

View file

@ -32,6 +32,7 @@ namespace SparkleLib {
public SparkleBackend (string name, string [] paths)
{
Name = name;
Path = "git";
foreach (string path in paths) {
if (File.Exists (path)) {