Skip to content

Commit

Permalink
Ensure absolute paths in output_executable method
Browse files Browse the repository at this point in the history
Modified the output_executable method to compute absolute paths internally, thereby making the build outputs independent of the working directory.
  • Loading branch information
shinokaro committed Jul 10, 2024
1 parent b0ef8d7 commit 334b9fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ocran
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ module Ocran
# If debug mode is enabled, append "-debug" to the filename
executable = executable.append_to_filename("-debug") if @option.enable_debug_mode?
executable.basename.sub_ext(".exe")
end
end.expand_path(@pre_env.pwd)
end

def self.windowed?
Expand Down

0 comments on commit 334b9fe

Please sign in to comment.