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