For bug #144928, add -L to the rsync options (transform symlink into referent). ...
authorZac Medico <zmedico@gentoo.org>
Thu, 24 Aug 2006 03:51:43 +0000 (03:51 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 24 Aug 2006 03:51:43 +0000 (03:51 -0000)
svn path=/main/trunk/; revision=4321

bin/prepstrip

index deaa017eb33e220c1599de0b158f099efa270c05..a498b182c2dfbe76698637723ded62964b609048 100755 (executable)
@@ -30,7 +30,8 @@ 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 | rsync -a0 --files-from=- "${WORKDIR}/" "${D}/usr/src/debug/${PF}/" )
+                       cat "${T}"/debug.sources | (cd "${WORKDIR}"; LANG=C sort -z -u | \
+                               rsync -aL0 --files-from=- "${WORKDIR}/" "${D}/usr/src/debug/${PF}/" )
                fi
        fi