From 10ad400dbda4ffd8e67973b17b83f041e89f5e0a Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sun, 12 Jan 2020 06:09:02 +0100 Subject: [PATCH] Fix. --- buster/setup_scripts/copy_dirtree.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buster/setup_scripts/copy_dirtree.sh b/buster/setup_scripts/copy_dirtree.sh index af5bfc0..f8817aa 100755 --- a/buster/setup_scripts/copy_dirtree.sh +++ b/buster/setup_scripts/copy_dirtree.sh @@ -21,12 +21,12 @@ config_tree_prefix="${HOME}/config/buster" etc_files_dir="${config_tree_prefix}/etc_files" for target_module in "$@"; do + mkdir -p "${source_root}/${target_module}" cd "${source_root}/${target_module}" for path in $(find . -type f); do target_path="${target_root}"$(echo "${path}" | cut -c2-) source_path=$(realpath "${path}") dir=$(dirname "${target_path}") - mkdir -p "${source_path}" mkdir -p "${dir}" cp "${source_path}" "${target_path}" done -- 2.30.2