projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58fe7c1
)
default/linux/amd64/17.1/profile.bashrc: Check setup phase
author
Brian Evans
<grknight@gentoo.org>
Thu, 18 Jan 2018 17:33:58 +0000
(12:33 -0500)
committer
Brian Evans
<grknight@gentoo.org>
Thu, 18 Jan 2018 17:33:58 +0000
(12:33 -0500)
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
patch
|
blob
|
history
diff --git
a/profiles/default/linux/amd64/17.1/profile.bashrc
b/profiles/default/linux/amd64/17.1/profile.bashrc
index e8fc95af773dcb367bc60218454c5c0c2193035b..44dc51c55408d0bd51fdd25f757537a001ea106d 100644
(file)
--- 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."