diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-08-24 03:51:43 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-08-24 03:51:43 +0000 |
commit | b655977224cb411ffc85d0371f83349e5872b42e (patch) | |
tree | aa6b10d05b94b7ab28a7e4b9bbc8d6409a35ff6c | |
parent | 67e468c2607f617e7aa09b43840df141b900e228 (diff) | |
download | portage-b655977224cb411ffc85d0371f83349e5872b42e.tar.gz portage-b655977224cb411ffc85d0371f83349e5872b42e.tar.bz2 portage-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
-rwxr-xr-x | bin/prepstrip | 3 |
1 files changed, 2 insertions, 1 deletions
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 |