From f5ede83def8f224e88fa6d00c4fa31d90cae9998 Mon Sep 17 00:00:00 2001 From: Jason Mehring Date: Wed, 29 Oct 2014 08:16:46 -0400 Subject: [PATCH] Change copy function not to use wildcard --- functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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..."