Change copy function not to use wildcard

This commit is contained in:
Jason Mehring 2014-10-29 08:16:46 -04:00
parent c238716d6a
commit f5ede83def

View File

@ -301,7 +301,7 @@ copyTreeExec() {
fi fi
debug "Copying ${source_dir}/* ${target_dir}" debug "Copying ${source_dir}/* ${target_dir}"
cp -rp "${source_dir}/"* "${target_dir}" cp -rp "${source_dir}/." "${target_dir}"
if [ -f "${source_dir}/.facl" ]; then if [ -f "${source_dir}/.facl" ]; then
debug "Restoring file permissions..." debug "Restoring file permissions..."