From fc9937bb7d5e236d5531f466fa4ea3e759d455bb Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Thu, 25 Jul 2013 22:05:37 -0700 Subject: [PATCH] fixed linux path conversion. --- NzbDrone.Test.Common/StringExtensions.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/NzbDrone.Test.Common/StringExtensions.cs b/NzbDrone.Test.Common/StringExtensions.cs index 19da86cc1..3385a87d2 100644 --- a/NzbDrone.Test.Common/StringExtensions.cs +++ b/NzbDrone.Test.Common/StringExtensions.cs @@ -12,6 +12,7 @@ namespace NzbDrone.Test.Common if (path.Length > 2 && path[1] == ':') { path = path.Replace(':', Path.DirectorySeparatorChar); + path = Path.DirectorySeparatorChar + path; } path = path.Replace("\\", Path.DirectorySeparatorChar.ToString()); }