Skip to content

Commit

Permalink
Clarify intent to create build output files in the current directory
Browse files Browse the repository at this point in the history
  • Loading branch information
shinokaro committed Jul 27, 2024
1 parent 8809c07 commit 8f28917
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/ocran/option.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8f28917

Please sign in to comment.