X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=buster%2Fsetup_scripts%2Fcopy_dirtree.sh;h=f8817aa9d174622da95a24498c10b44c7e4db9c9;hb=6056185c5c3b7eafdf9e8bd3b9c3689cd249744b;hp=ff4d5b4eaecc68f58e42f3919ffee048e6f3fc7d;hpb=93f5ea313297999e0c68eb48f6d5cd4984c5dd4b;p=config
diff --git a/buster/setup_scripts/copy_dirtree.sh b/buster/setup_scripts/copy_dirtree.sh
index ff4d5b4..f8817aa 100755
--- a/buster/setup_scripts/copy_dirtree.sh
+++ b/buster/setup_scripts/copy_dirtree.sh
@@ -21,6 +21,7 @@ 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-)