From cef4a598b1431b7c26d05c46c5dbe6b517e58e5a Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Mon, 1 Apr 2024 19:45:40 +0800 Subject: [PATCH] Script Refactoring --- scripts-new/lib/path.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts-new/lib/path.sh b/scripts-new/lib/path.sh index 5012918bd..38c104637 100644 --- a/scripts-new/lib/path.sh +++ b/scripts-new/lib/path.sh @@ -2,6 +2,7 @@ #!/usr/bin/env bash source "$(dirname "${BASH_SOURCE[0]}")/../lib/util.sh" +source "$(dirname "${BASH_SOURCE[0]}")/../lib/init.sh" get_conf_dir() { @@ -28,8 +29,7 @@ get_bin_full_path() { local bin_dir=$(get_bin_dir "$project_path") - local bin_full_path="$bin_dir/${host_platform}/${bin_name}" - echo "${bin_full_path}" 111111111111111111111 + local bin_full_path="${OPENIM_OUTPUT_BINPATH}/${bin_name}" }