Only append filename when a directory is specified.
Note: this is likely to break when adding an extension. The patch provider did not think about that. A better fix would be to append only if the path doesn't point to a file.
Only append filename when a directory is specified.
Note: this is likely to break when adding an extension. The patch provider did not think about that. A better fix would be to append only if the path doesn't point to a file.