Update scripts/dccd2.sh

This commit is contained in:
Matt Reeves 2024-05-04 02:25:27 +00:00
parent 573f9c3ccf
commit 4c55dac7b4

View file

@ -80,6 +80,8 @@ update_compose_files() {
# Check if the docker-compose.yml file in this folder has changed # Check if the docker-compose.yml file in this folder has changed
compose_file_changed=false compose_file_changed=false
for file in $changed_files; do for file in $changed_files; do
log_message "DEBUG: Comparing changed file: $file" # Added debug line
log_message "DEBUG: With target file: $folder/docker-compose.yml" # Added debug line
if [[ "$file" == "$folder/docker-compose.yml" ]]; then if [[ "$file" == "$folder/docker-compose.yml" ]]; then
compose_file_changed=true compose_file_changed=true
break break