projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2edf3d5
)
Filter paths matching '/<built-in>$' that come from debugedit. Thanks to Ed Catmur...
author
Zac Medico
<zmedico@gentoo.org>
Fri, 23 Feb 2007 23:20:32 +0000
(23:20 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 23 Feb 2007 23:20:32 +0000
(23:20 -0000)
svn path=/main/trunk/; revision=6060
bin/prepstrip
patch
|
blob
|
history
diff --git
a/bin/prepstrip
b/bin/prepstrip
index 1ff4c0d28e59608183831ecee647f7b79e176ebf..d903a649eb452bb89c5b22bb03a42209db7bfd2b 100755
(executable)
--- a/
bin/prepstrip
+++ b/
bin/prepstrip
@@
-32,7
+32,8
@@
save_elf_debug() {
-l "${T}"/debug.sources "${x}"
if [[ -s ${T}/debug.sources ]] ; then
[[ -d ${D}${sources_dir} ]] || mkdir -p "${D}${sources_dir}"
- cat "${T}"/debug.sources | (cd "${WORKDIR}"; LANG=C sort -z -u | \
+ grep -zv '/<built-in>$' "${T}"/debug.sources | \
+ (cd "${WORKDIR}"; LANG=C sort -z -u | \
rsync -rtL0 --files-from=- "${WORKDIR}/" "${D}${sources_dir}/" )
fi
fi