X-Git-Url: https://plomlompom.com/repos/test.html?a=blobdiff_plain;ds=sidebyside;f=buster%2Fsetup_scripts%2Fcopy_dirtree.sh;h=c0cb9bfea68afa67b9a99f1f6a6c468f83766afc;hb=892eda067a88df05cce5f47bcc4d7f1644eddddb;hp=ff4d5b4eaecc68f58e42f3919ffee048e6f3fc7d;hpb=93f5ea313297999e0c68eb48f6d5cd4984c5dd4b;p=config
diff --git a/buster/setup_scripts/copy_dirtree.sh b/buster/setup_scripts/copy_dirtree.sh
index ff4d5b4..c0cb9bf 100755
--- a/buster/setup_scripts/copy_dirtree.sh
+++ b/buster/setup_scripts/copy_dirtree.sh
@@ -17,10 +17,8 @@ source_root="$1"
target_root="$2"
shift 2
-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-)