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