From d176c5f71192b4ce7c3d9b2acb494f36ec9755c2 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Mon, 1 Apr 2024 18:49:04 +0800 Subject: [PATCH] Script Refactoring --- scripts-new/lib/path.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts-new/lib/path.sh b/scripts-new/lib/path.sh index a64a6c3e2..9ef9f472c 100644 --- a/scripts-new/lib/path.sh +++ b/scripts-new/lib/path.sh @@ -25,8 +25,11 @@ get_bin_full_path() { local bin_name="$2" local host_platform=$(openim::util::host_platform) - local bin_full_path="${project_path}/${host_platform}/${bin_name}" - echo "${bin_full_path}" 1111111111111 + + local bin_dir=$(get_bin_dir "$project_path") + + local bin_full_path="${project_path}/$bin_dir/${host_platform}/${bin_name}" + echo "${bin_full_path}" 111111111111111111111 }