From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3A52B198005 for ; Wed, 20 Mar 2013 08:33:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC932E0603; Wed, 20 Mar 2013 08:33:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5E2F3E0603 for ; Wed, 20 Mar 2013 08:33:21 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7057433BE3D for ; Wed, 20 Mar 2013 08:33:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 0F594E4073 for ; Wed, 20 Mar 2013 08:33:19 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1363768163.c4d0a6bb0a246cc6decf35504dd285aee186d03f.vapier@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ebuild-helpers/ X-VCS-Repository: proj/portage X-VCS-Files: bin/ebuild-helpers/prepallman X-VCS-Directories: bin/ebuild-helpers/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: c4d0a6bb0a246cc6decf35504dd285aee186d03f X-VCS-Branch: master Date: Wed, 20 Mar 2013 08:33:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f3504390-d891-491b-a909-154b92ccf973 X-Archives-Hash: 1ac58a428b836bef3c7a9581f0002dfd commit: c4d0a6bb0a246cc6decf35504dd285aee186d03f Author: Mike Frysinger gentoo org> AuthorDate: Wed Mar 20 08:29:23 2013 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Wed Mar 20 08:29:23 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=c4d0a6bb prepallman: avoid temp file indirection Signed-off-by: Mike Frysinger gentoo.org> --- bin/ebuild-helpers/prepallman | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/ebuild-helpers/prepallman b/bin/ebuild-helpers/prepallman index 7c78324..5331eaf 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}