From 334b9fe65fc8db226f719e24ca76e1119dce6226 Mon Sep 17 00:00:00 2001 From: shinokaro Date: Wed, 10 Jul 2024 20:52:25 +0900 Subject: [PATCH] Ensure absolute paths in output_executable method Modified the output_executable method to compute absolute paths internally, thereby making the build outputs independent of the working directory. --- bin/ocran | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ocran b/bin/ocran index 4f96275..175a3ae 100644 --- a/bin/ocran +++ b/bin/ocran @@ -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?