From 1054da9b4ebff6d4a85c29868c3a674be843fb96 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Fri, 15 Aug 2025 16:12:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=9B=B8=E5=AF=B9=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E8=BF=9B=E8=A1=8C=E6=89=93=E5=8C=85=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/build.sh b/bin/build.sh index 8c7c22b..170bf64 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -31,7 +31,8 @@ fi # Use a new parameter list set -- "${new_args[@]}" -GitLocalRoot=${HOME}/omc.git +RootDir=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) +GitLocalRoot=$(dirname $(dirname "$RootDir")) while getopts "r:d" option; do case $option in r)