summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/default/linux')
-rw-r--r--profiles/default/linux/amd64/17.1/profile.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/default/linux/amd64/17.1/profile.bashrc b/profiles/default/linux/amd64/17.1/profile.bashrc
index e8fc95af773d..44dc51c55408 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."