Skip to content

Commit

Permalink
fix absolute paths on unix systems
Browse files Browse the repository at this point in the history
  • Loading branch information
Milek7 committed Nov 12, 2014
1 parent 672815a commit 99e226b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ private static void Main(string[] args)
Help();
}
int lastIdx = args.Length - 1;
string downloadDirectory = args[lastIdx].Trim(Path.GetInvalidFileNameChars()).Trim(Path.GetInvalidPathChars());
string downloadDirectory = args[lastIdx].Trim(Path.GetInvalidPathChars());
Console.WriteLine("Download directory: " + downloadDirectory);
string[] urls = new string[lastIdx - j];
for (int i = j; i < lastIdx; ++i)
Expand Down

0 comments on commit 99e226b

Please sign in to comment.