From 7612a3f742bf17626e4ec7799cb33b0542517478 Mon Sep 17 00:00:00 2001 From: "Celestial.y" Date: Fri, 17 Oct 2025 18:35:12 +0800 Subject: [PATCH] Use local var for args_includes --- sdata/step/3.install-files.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/sdata/step/3.install-files.sh b/sdata/step/3.install-files.sh index f47239c7a..d213e75c6 100644 --- a/sdata/step/3.install-files.sh +++ b/sdata/step/3.install-files.sh @@ -32,6 +32,7 @@ function backup_clashing_targets(){ done # Construct args_includes for rsync + local args_includes=() for i in "${clash_list[@]}"; do if [[ -d "$target_dir/$i" ]]; then args_includes+=(--include="/$i/")