Skip to content

Commit

Permalink
removed backslash-to-slash replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
BabeleDunnit committed Feb 9, 2016
1 parent 361c8b1 commit 425b362
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions windows/WURFLUpdater/WURFLUpdater/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ static void Main(string[] args)
String[] splittedRemoteUrl = remoteUrl.Split('/');
String splittedRemoteUrlLast = splittedRemoteUrl[splittedRemoteUrl.Length - 1];
String localFileName = localDir + Path.DirectorySeparatorChar + splittedRemoteUrlLast;
// make Bash happy
localFileName = localFileName.Replace("\\", "/");
DateTime lastModified = File.Exists(localFileName) ? File.GetLastWriteTime(localFileName) : DateTime.Now.AddDays(-7.0);
HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(remoteUrl);
request.Timeout = 10000;
Expand Down

0 comments on commit 425b362

Please sign in to comment.