From b655977224cb411ffc85d0371f83349e5872b42e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 24 Aug 2006 03:51:43 +0000 Subject: [PATCH] For bug #144928, add -L to the rsync options (transform symlink into referent). Thanks to Olivier Crete for this patch. svn path=/main/trunk/; revision=4321 --- bin/prepstrip | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/prepstrip b/bin/prepstrip index deaa017eb..a498b182c 100755 --- a/bin/prepstrip +++ b/bin/prepstrip @@ -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 -- 2.26.2