From c4d0a6bb0a246cc6decf35504dd285aee186d03f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 20 Mar 2013 04:29:23 -0400 Subject: [PATCH] prepallman: avoid temp file indirection Signed-off-by: Mike Frysinger --- bin/ebuild-helpers/prepallman | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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} -- 2.26.2