summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-23 22:39:05 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-23 22:39:05 +0000
commit8548cccdb397e74b95bc021f51d53c01f5629efa (patch)
tree2b933fac2d3ab5f5e859551e5a1a24df9e4ed0bf
parent1173699ee506de28463c11668d688679381b2128 (diff)
downloadportage-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-xbin/prepstrip4
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
}