1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-04 16:35:08 -05:00

* force lower-case extensions

This commit is contained in:
Reinhard Pointner 2014-02-24 02:12:33 +00:00
parent dd40f467ba
commit 90fb9bbb77

View File

@ -536,7 +536,7 @@ public class CmdlineOperations implements CmdlineInterface {
private File getDestinationFile(File original, String newName, File outputDir) {
String extension = getExtension(original);
File newFile = new File(extension != null ? newName + '.' + extension : newName);
File newFile = new File(extension != null ? newName + '.' + extension.toLowerCase() : newName);
// resolve against output dir
if (outputDir != null && !newFile.isAbsolute()) {