From 2c54c17239d33842bac58ecc46f7d0283a8a9780 Mon Sep 17 00:00:00 2001 From: andrussal Date: Tue, 9 Dec 2025 17:54:36 +0100 Subject: [PATCH] Fix setup-circuits realpath helpers --- scripts/setup-circuits-stack.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/setup-circuits-stack.sh b/scripts/setup-circuits-stack.sh index 261198d..fc47bc9 100755 --- a/scripts/setup-circuits-stack.sh +++ b/scripts/setup-circuits-stack.sh @@ -85,14 +85,16 @@ echo "Workspace: ${ROOT_DIR}" LINUX_PLATFORM="linux-x86_64" echo "Installing Linux bundle for Docker image into ${STACK_DIR}" -stage_real="$(python3 - <<'PY' +stage_real="$(python3 - "${LINUX_STAGE_DIR}" <<'PY' import os, sys print(os.path.realpath(sys.argv[1])) -PY "${LINUX_STAGE_DIR}")" -stack_real="$(python3 - <<'PY' +PY +)" +stack_real="$(python3 - "${STACK_DIR}" <<'PY' import os, sys print(os.path.realpath(sys.argv[1])) -PY "${STACK_DIR}")" +PY +)" if [ "$stage_real" = "$stack_real" ]; then # No staging copy needed; install directly into STACK_DIR.