From 07b58148ecd61f51c240c31cc2c3448c3c4e7220 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Mon, 1 Apr 2024 18:34:39 +0800 Subject: [PATCH] Script Refactoring --- scripts-new/start.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts-new/start.sh b/scripts-new/start.sh index fcf291aaa..d6d42d3f6 100644 --- a/scripts-new/start.sh +++ b/scripts-new/start.sh @@ -2,8 +2,9 @@ #!/usr/bin/env bash OPENIM_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. -source "$(dirname "$0")/lib/path.sh" -source "$(dirname "$0")/define/binaries.sh" +OPENIM_SCRIPTS=$(dirname "${BASH_SOURCE[0]}")/ +source "$OPENIM_SCRIPTS/lib/path.sh" +source "$OPENIM_SCRIPTS/define/binaries.sh" # Assuming 'openim::util::host_platform' is defined in one of the sourced scripts or elsewhere.