From 5c4613346be91d38f0bc79be41a1e3384e5abead Mon Sep 17 00:00:00 2001 From: r83575 Date: Wed, 12 Nov 2025 10:02:45 +0200 Subject: [PATCH] fix: correct workspace_dir path resolution --- scripts/run_dev_jetson.sh | 4 ++-- scripts/run_dev_ml_cpu.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/run_dev_jetson.sh b/scripts/run_dev_jetson.sh index 057be4a..eb4d988 100755 --- a/scripts/run_dev_jetson.sh +++ b/scripts/run_dev_jetson.sh @@ -8,8 +8,8 @@ USER_ID=$(id -u) # Base directories script_dir=$(dirname "$(realpath "$0")") -workspace_dir=${script_dir} -env_dir=${workspace_dir}/../env/jetson +workspace_dir=$(realpath "${script_dir}/..") +env_dir=${workspace_dir}/env/jetson # Container and image names IMAGE_NAME="inference-opt-jetson" diff --git a/scripts/run_dev_ml_cpu.sh b/scripts/run_dev_ml_cpu.sh index ed37f20..4cb9211 100755 --- a/scripts/run_dev_ml_cpu.sh +++ b/scripts/run_dev_ml_cpu.sh @@ -5,8 +5,8 @@ set -o xtrace # print each command before executing # Base directories script_dir=$(dirname "$(realpath "$0")") -workspace_dir=${script_dir} -env_dir=${workspace_dir}/../env/ml_cpu +workspace_dir=$(realpath "${script_dir}/..") +env_dir=${workspace_dir}/env/ml_cpu # Container and image names IMAGE_NAME="inference-opt"