diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-23 22:39:05 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-23 22:39:05 +0000 |
commit | 8548cccdb397e74b95bc021f51d53c01f5629efa (patch) | |
tree | 2b933fac2d3ab5f5e859551e5a1a24df9e4ed0bf | |
parent | 1173699ee506de28463c11668d688679381b2128 (diff) | |
download | portage-8548cccdb397e74b95bc021f51d53c01f5629efa.tar.gz portage-8548cccdb397e74b95bc021f51d53c01f5629efa.tar.bz2 portage-8548cccdb397e74b95bc021f51d53c01f5629efa.zip |
fix prepstrip after previous commit as pointed out by Olivier Crete
svn path=/main/trunk/; revision=2576
-rwxr-xr-x | bin/prepstrip | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/prepstrip b/bin/prepstrip index 7d4ea303b..b480cffa1 100755 --- a/bin/prepstrip +++ b/bin/prepstrip @@ -37,8 +37,8 @@ save_elf_debug() { if [[ -x "/usr/bin/debugedit" ]] ; then debugedit -b "${WORKDIR}" -d /usr/src/debug/${PF} -l "${T}"/debug.sources "${x}" if [[ -s ${T}/debug.sources ]] ; then - [[ -d ${D}/usr/src/debug/${P} ]] || mkdir -p "${D}/usr/src/debug/${PF}" - cat "${T}"/debug.sources | (cd "${WORKDIR}"; LANG=C sort -z -u | xargs -0 -- cp --parents -p --target-directory="${D}/usr/src/debug/${P}" ) + [[ -d ${D}/usr/src/debug/${PF} ]] || mkdir -p "${D}/usr/src/debug/${PF}" + cat "${T}"/debug.sources | (cd "${WORKDIR}"; LANG=C sort -z -u | xargs -0 -- cp --parents -p --target-directory="${D}/usr/src/debug/${PF}" ) fi fi } |