From 5fb9315f87c5ba273c3c7728775bf1733c6e39c4 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 18 Jan 2025 19:57:47 +0800 Subject: [PATCH] fixed root_dir --- dev-cli/tools/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-cli/tools/build.sh b/dev-cli/tools/build.sh index d03b0a5b3..2e8d736cf 100755 --- a/dev-cli/tools/build.sh +++ b/dev-cli/tools/build.sh @@ -3,7 +3,7 @@ # Build the ao cli into a set of platform binaries # change directory to root of dev-cli to ensure this script works no matter where it is ran -root_dir="$(dirname "$0")/.." +root_dir="$(realpath "$(dirname "$0")/..")" cd $root_dir OUTPUT_DIR="${root_dir}/dist"