diff --git a/lib/ocran/option.rb b/lib/ocran/option.rb index 9cf32e7..7f659d3 100644 --- a/lib/ocran/option.rb +++ b/lib/ocran/option.rb @@ -186,8 +186,9 @@ def parse(argv) executable = script # If debug mode is enabled, append "-debug" to the filename executable = executable.append_to_filename("-debug") if enable_debug_mode? - executable.basename.sub_ext(".exe") - end.expand_path + # Build output files are created in the current directory + executable.basename.sub_ext(".exe").expand_path + end @options[:use_inno_setup?] = !!inno_setup_script