From: Mike Frysinger Date: Wed, 20 Mar 2013 08:29:23 +0000 (-0400) Subject: prepallman: avoid temp file indirection X-Git-Tag: v2.2.0_alpha169~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c4d0a6bb0a246cc6decf35504dd285aee186d03f;p=portage.git prepallman: avoid temp file indirection Signed-off-by: Mike Frysinger --- diff --git a/bin/ebuild-helpers/prepallman b/bin/ebuild-helpers/prepallman index 7c78324cd..5331eaf01 100755 --- 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}