summaryrefslogtreecommitdiff
path: root/scripts/populate.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/populate.in')
-rw-r--r--scripts/populate.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/populate.in b/scripts/populate.in
index 9bb5afb..5dbe313 100644
--- a/scripts/populate.in
+++ b/scripts/populate.in
@@ -127,9 +127,9 @@ mkdir -p "${CT_ROOT_DST_DIR}"
CT_ROOT_SRC_DIR=$(cd "${CT_ROOT_SRC_DIR}"; pwd)
CT_ROOT_DST_DIR=$(cd "${CT_ROOT_DST_DIR}"; pwd)
-# Populate the destination directory with files form the source directory
+# Populate the destination directory with files from the source directory
pushd "${CT_ROOT_SRC_DIR}" >/dev/null
-tar cf - . |tar xf - -C "${CT_ROOT_DST_DIR}"
+cp -a . "${CT_ROOT_DST_DIR}"
popd >/dev/null
# A function do search for a library