projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d77dbe6
)
prepallman: avoid temp file indirection
author
Mike Frysinger
<vapier@gentoo.org>
Wed, 20 Mar 2013 08:29:23 +0000
(
04:29
-0400)
committer
Mike Frysinger
<vapier@gentoo.org>
Wed, 20 Mar 2013 08:29:23 +0000
(
04:29
-0400)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
bin/ebuild-helpers/prepallman
patch
|
blob
|
history
diff --git
a/bin/ebuild-helpers/prepallman
b/bin/ebuild-helpers/prepallman
index 7c78324cd83b4faff36cbfc2b118daadeb1a0e1f..5331eaf0186e21828dabd230689011fefbac4858 100755
(executable)
--- a/
bin/ebuild-helpers/prepallman
+++ b/
bin/ebuild-helpers/prepallman
@@
-13,11
+13,10
@@
fi
ret=0
-find "${ED}" -type d -name man > "${T}"/prepallman.filelist
-while read -r mandir ; do
+while IFS= read -r -d '' mandir ; do
mandir=${mandir#${ED}}
prepman "${mandir%/man}"
((ret|=$?))
-done <
"${T}"/prepallman.filelist
+done <
<(find "${ED}" -type d -name man -print0)
exit ${ret}