From 0d50c781a56f8dbd6c96f98ed88e05aba37b24a2 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 26 May 2006 22:38:52 +0000 Subject: [PATCH] For portability, use cpio instead of `cp --parents` for bug #124638. svn path=/main/trunk/; revision=3419 --- bin/prepstrip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/prepstrip b/bin/prepstrip index fdf666a7d..496415c99 100755 --- a/bin/prepstrip +++ b/bin/prepstrip @@ -40,7 +40,7 @@ save_elf_debug() { debugedit -b "${WORKDIR}" -d /usr/src/debug/${PF} -l "${T}"/debug.sources "${x}" if [[ -s ${T}/debug.sources ]] ; then [[ -d ${D}/usr/src/debug/${PF} ]] || mkdir -p "${D}/usr/src/debug/${PF}" - cat "${T}"/debug.sources | (cd "${WORKDIR}"; LANG=C sort -z -u | xargs -0 -- cp --parents -p --target-directory="${D}/usr/src/debug/${PF}" ) + cat "${T}"/debug.sources | (cd "${WORKDIR}"; LANG=C sort -z -u | cpio -pdm0 "${D}/usr/src/debug/${PF}" ) fi fi } -- 2.26.2