diff --git a/functions.sh b/functions.sh index 913198c..c4bb43d 100755 --- a/functions.sh +++ b/functions.sh @@ -301,7 +301,7 @@ copyTreeExec() { fi debug "Copying ${source_dir}/* ${target_dir}" - cp -rp "${source_dir}/"* "${target_dir}" + cp -rp "${source_dir}/." "${target_dir}" if [ -f "${source_dir}/.facl" ]; then debug "Restoring file permissions..."