more linux fixes

This commit is contained in:
kay.one 2013-07-25 22:41:38 -07:00
parent b06a58966e
commit c2b4eadc47
7 changed files with 31 additions and 29 deletions

View file

@ -12,7 +12,6 @@ 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());
}