summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-08-24 03:51:43 +0000
committerZac Medico <zmedico@gentoo.org>2006-08-24 03:51:43 +0000
commitb655977224cb411ffc85d0371f83349e5872b42e (patch)
treeaa6b10d05b94b7ab28a7e4b9bbc8d6409a35ff6c /bin/prepstrip
parentinclude filename in submenu so we know exactly what we are working on (diff)
downloadportage-multirepo-b655977224cb411ffc85d0371f83349e5872b42e.tar.gz
portage-multirepo-b655977224cb411ffc85d0371f83349e5872b42e.tar.bz2
portage-multirepo-b655977224cb411ffc85d0371f83349e5872b42e.zip
For bug #144928, add -L to the rsync options (transform symlink into referent). Thanks to Olivier Crete <tester@gentoo.org> for this patch.
svn path=/main/trunk/; revision=4321
Diffstat (limited to 'bin/prepstrip')
-rwxr-xr-xbin/prepstrip3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/prepstrip b/bin/prepstrip
index deaa017e..a498b182 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