[repo] Combine paths properly

This commit is contained in:
Hylke Bons 2010-11-27 20:52:55 +00:00
parent 7a497997b5
commit 62a9afbb70

View file

@ -889,7 +889,7 @@ namespace SparkleLib {
file_path.Contains (".git") ||
file_path.Contains ("/.") ||
file_path.EndsWith (".swp") ||
System.IO.Directory.Exists (LocalPath + file_path)) {
System.IO.Directory.Exists (Path.Combine (LocalPath, file_path))) {
return true; // Yes, ignore it