From 1360fe6843e0f22625a675f1fab8664f8da4d37f Mon Sep 17 00:00:00 2001 From: IvanMeln1k Date: Fri, 4 Dec 2026 14:41:37 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=A04:=20=D0=BD=D0=B5=20=D0=BF=D0=B5?= =?UTF-8?q?=D1=80=D0=B5=D0=BD=D0=BE=D1=81=D0=B8=D1=82=D1=8C=20env=20=D0=BA?= =?UTF-8?q?=D0=BB=D0=BE=D0=BD=D0=B0=20=D0=BF=D1=80=D0=B8=20=D0=B2=D0=BE?= =?UTF-8?q?=D1=81=D1=81=D1=82=D0=B0=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B8=20=D0=BE=D1=81=D0=BD=D0=BE=D0=B2=D0=BD=D0=BE=D0=B3?= =?UTF-8?q?=D0=BE=20=D1=81=D1=82=D0=B5=D0=BD=D0=B4=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/clean-clone-check.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/clean-clone-check.sh b/scripts/clean-clone-check.sh index 3b56673f..21c82958 100755 --- a/scripts/clean-clone-check.sh +++ b/scripts/clean-clone-check.sh @@ -44,7 +44,13 @@ cleanup() { esac fi if [ "$main_was_running" = "1" ]; then - (cd "$root" && make up >/dev/null 2>&1 && ./scripts/wait-ready.sh >/dev/null 2>&1 || true) + # The clone exported COMPOSE_PROJECT_NAME/LB_PORT/IMAGE for its own + # compose project. Do not leak them into the main stand restart. + ( + cd "$root" + unset COMPOSE_PROJECT_NAME LB_PORT IMAGE BASE_URL API_IMAGE + make up >/dev/null 2>&1 && ./scripts/wait-ready.sh >/dev/null 2>&1 || true + ) fi exit "$status" }