From: Christian Heller Date: Sun, 12 Jan 2020 05:09:02 +0000 (+0100) Subject: Fix. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/feed.xml?a=commitdiff_plain;h=10ad400dbda4ffd8e67973b17b83f041e89f5e0a;p=config Fix. --- 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