projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
627b80e
)
Filter paths matching '/<built-in>$' that come from debugedit. Thanks to Ed Catmur...
author
Zac Medico
<zmedico@gentoo.org>
Fri, 23 Feb 2007 23:21:28 +0000
(23:21 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 23 Feb 2007 23:21:28 +0000
(23:21 -0000)
svn path=/main/branches/2.1.2/; revision=6061
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