From 90fb9bbb77791e5b1383bb0f53e6fe4479884fc2 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Mon, 24 Feb 2014 02:12:33 +0000 Subject: [PATCH] * force lower-case extensions --- source/net/sourceforge/filebot/cli/CmdlineOperations.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/sourceforge/filebot/cli/CmdlineOperations.java b/source/net/sourceforge/filebot/cli/CmdlineOperations.java index 97a246e5..f9b6374e 100644 --- a/source/net/sourceforge/filebot/cli/CmdlineOperations.java +++ b/source/net/sourceforge/filebot/cli/CmdlineOperations.java @@ -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()) {