From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QQbuF-00065v-Fv for garchives@archives.gentoo.org; Sun, 29 May 2011 09:03:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EAA0A1C01C; Sun, 29 May 2011 09:03:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id BE5411C01C for ; Sun, 29 May 2011 09:03:20 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 365E92AC007 for ; Sun, 29 May 2011 09:03:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 93CA080505 for ; Sun, 29 May 2011 09:03:19 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <58beaa6ce65c84bff14a02566e52493d8d4cfec1.grobian@gentoo> Subject: [gentoo-commits] proj/portage:prefix commit in: bin/ebuild-helpers/ X-VCS-Repository: proj/portage X-VCS-Files: bin/ebuild-helpers/prepall X-VCS-Directories: bin/ebuild-helpers/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 58beaa6ce65c84bff14a02566e52493d8d4cfec1 Date: Sun, 29 May 2011 09:03: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 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 44da21ab2f43369109a4c25de5de2164 commit: 58beaa6ce65c84bff14a02566e52493d8d4cfec1 Author: Fabian Groffen gentoo org> AuthorDate: Sun May 29 09:00:46 2011 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Sun May 29 09:00:46 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D58beaa6c prepall: don't operate on ${ED} when it doesn't exist prepall* funcs operate exclusively on ${ED}, which needs not to exist when nothing is installed, such as e.g. with virtuals. Refraining from operating when ${ED} does not exist avoids error messages from find that ${ED} does not exist, bug #368839 --- bin/ebuild-helpers/prepall | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/bin/ebuild-helpers/prepall b/bin/ebuild-helpers/prepall index bc3362e..f9164c1 100755 --- a/bin/ebuild-helpers/prepall +++ b/bin/ebuild-helpers/prepall @@ -4,6 +4,8 @@ =20 source "${PORTAGE_BIN_PATH:-@PORTAGE_BASE@/bin}"/isolated-functions.sh =20 +[[ -d ${ED} ]] || exit 0 + if hasq chflags $FEATURES ; then # Save all the file flags for restoration at the end of prepall. mtree -c -p "${ED}" -k flags > "${T}/bsdflags.mtree"