From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 071C6138206 for ; Thu, 18 Jan 2018 17:38:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23CA5E08A2; Thu, 18 Jan 2018 17:38:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 01B80E08A2 for ; Thu, 18 Jan 2018 17:38:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 04115335C38 for ; Thu, 18 Jan 2018 17:38:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 52D9A1BA for ; Thu, 18 Jan 2018 17:38:18 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1516296838.d74e991536d896ce95834a031882f375f747fb2d.grknight@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/default/linux/amd64/17.1/ X-VCS-Repository: repo/gentoo X-VCS-Files: profiles/default/linux/amd64/17.1/profile.bashrc X-VCS-Directories: profiles/default/linux/amd64/17.1/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: d74e991536d896ce95834a031882f375f747fb2d X-VCS-Branch: master Date: Thu, 18 Jan 2018 17:38:18 +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: 9a828c2e-13b4-4b8a-bcfc-14ff957808e8 X-Archives-Hash: 106f60bdc2860b09a25fe6b6d20b6406 commit: d74e991536d896ce95834a031882f375f747fb2d Author: Brian Evans gentoo org> AuthorDate: Thu Jan 18 17:33:58 2018 +0000 Commit: Brian Evans gentoo org> CommitDate: Thu Jan 18 17:33:58 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d74e9915 default/linux/amd64/17.1/profile.bashrc: Check setup phase The reason to check this phase is that cleanup is safe and die hooks are set in portage (if any). This also gives a resonable error message to anyone with --quiet-build=y in portage profiles/default/linux/amd64/17.1/profile.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/default/linux/amd64/17.1/profile.bashrc b/profiles/default/linux/amd64/17.1/profile.bashrc index e8fc95af773..44dc51c5540 100644 --- a/profiles/default/linux/amd64/17.1/profile.bashrc +++ b/profiles/default/linux/amd64/17.1/profile.bashrc @@ -1,4 +1,4 @@ -if [[ -L ${ROOT%/}/lib || -L ${ROOT%/}/usr/lib ]] ; then +if [[ "${EBUILD_PHASE}" == "setup" ]] && [[ -L ${ROOT%/}/lib || -L ${ROOT%/}/usr/lib ]] ; then eerror "Please follow the instructions in the news item:" eerror "2017-12-26-experimental-amd64-17-1-profiles" eerror "or choose the 17.0 profile."