summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_world_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/ptxd_make_world_install.sh')
-rw-r--r--scripts/lib/ptxd_make_world_install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_world_install.sh b/scripts/lib/ptxd_make_world_install.sh
index e4db1e8fb..6d119bae0 100644
--- a/scripts/lib/ptxd_make_world_install.sh
+++ b/scripts/lib/ptxd_make_world_install.sh
@@ -218,7 +218,7 @@ ptxd_make_world_install_post() {
# create directories first to avoid race contitions with -jeX
find "${pkg_pkg_dir}" -type d -printf "%P\0" | \
xargs -0 -I{} mkdir -p "${pkg_sysroot_dir}/{}" &&
- cp -dprf -- "${pkg_pkg_dir}"/* "${pkg_sysroot_dir}" &&
+ cp -dpr --remove-destination -- "${pkg_pkg_dir}"/* "${pkg_sysroot_dir}" &&
# host and cross packages
if [ "${pkg_type}" != "target" ]; then