From: Zac Medico Date: Sat, 27 May 2006 00:09:31 +0000 (-0000) Subject: For availability in all stages, use rsync instead of cpio for bug #124638. X-Git-Tag: v2.1~53 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=942841affa8f397fa5c58142c97d1c910f9087a7;p=portage.git For availability in all stages, use rsync instead of cpio for bug #124638. svn path=/main/trunk/; revision=3420 --- diff --git a/bin/prepstrip b/bin/prepstrip index 496415c99..a27b1c260 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 | cpio -pdm0 "${D}/usr/src/debug/${PF}" ) + cat "${T}"/debug.sources | (cd "${WORKDIR}"; LANG=C sort -z -u | rsync -a0 --files-from=- "${WORKDIR}/" "${D}/usr/src/debug/${PF}/" ) fi fi }