From 7a8ceb85ec464bf2a670955b1768d51dda4ae340 Mon Sep 17 00:00:00 2001 From: lsy Date: Thu, 25 Jul 2024 22:16:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Ddocker=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=9B=B4=E6=96=B0,=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Menus/Automation.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Menus/Automation.sh b/Menus/Automation.sh index 471a70b..e59314b 100644 --- a/Menus/Automation.sh +++ b/Menus/Automation.sh @@ -45,8 +45,8 @@ case $pick in fi cat > "${path}/up-docker_compose.sh" << EOF #!/bin/bash -docker_path="${web_path}" -for dir in "web_path"/*/; do +web_path="${web_path}" +for dir in "\$web_path"/*/; do cd "\$dir" || exit sudo docker compose pull sudo docker compose up -d