From: Zac Medico Date: Fri, 26 May 2006 22:38:52 +0000 (-0000) Subject: For portability, use cpio instead of `cp --parents` for bug #124638. X-Git-Tag: v2.1~54 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0d50c781a56f8dbd6c96f98ed88e05aba37b24a2;p=portage.git For portability, use cpio instead of `cp --parents` for bug #124638. svn path=/main/trunk/; revision=3419 --- 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 }