fix: path translation fixes

This commit is contained in:
uprightbass360
2025-10-28 20:36:31 -04:00
parent 3d4b7e864e
commit bf6a53495d
6 changed files with 23 additions and 1 deletions

View File

@@ -131,6 +131,8 @@ fi
# Build sentinel is tracked in local storage
LOCAL_STORAGE_PATH="$(read_env STORAGE_PATH_LOCAL "./local-storage")"
if [[ "$LOCAL_STORAGE_PATH" != /* ]]; then
# Remove leading ./ if present
LOCAL_STORAGE_PATH="${LOCAL_STORAGE_PATH#./}"
LOCAL_STORAGE_PATH="$PROJECT_DIR/$LOCAL_STORAGE_PATH"
fi
MODULES_DIR="$STORAGE_PATH/modules"