From 8f289175918ba19ea1871133817266ffa0b9435d Mon Sep 17 00:00:00 2001 From: shinokaro Date: Sat, 27 Jul 2024 19:41:34 +0900 Subject: [PATCH] Clarify intent to create build output files in the current directory --- lib/ocran/option.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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