diff --git a/sdata/step/3.install-files.sh b/sdata/step/3.install-files.sh index 100f52841..7b8072581 100644 --- a/sdata/step/3.install-files.sh +++ b/sdata/step/3.install-files.sh @@ -32,7 +32,7 @@ function backup_clashing_targets(){ for i in "${clash_list[@]}"; do current_target=$target_dir/$i - if [[ -d $current_target ]]; do + if [[ -d $current_target ]]; then args_includes+=(--include="$current_target/") args_includes+=(--include="$current_target/**") else