Update scripts/dccd2.sh
This commit is contained in:
parent
573f9c3ccf
commit
4c55dac7b4
1 changed files with 20 additions and 18 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue