diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | modules/profile.eselect | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2013-11-14 Michael Marineau <mike@marineau.org> + + * modules/profile.eselect (set_symlink): Silence profile symlink + warning when using --force, bug 491216. + 2013-11-10 Ulrich Müller <ulm@gentoo.org> * libs/output.bash.in (space): Implement more efficiently. diff --git a/modules/profile.eselect b/modules/profile.eselect index a91a45f..77533ea 100644 --- a/modules/profile.eselect +++ b/modules/profile.eselect @@ -122,6 +122,7 @@ set_symlink() { || die -q "Couldn't set new ${MAKE_PROFILE} symlink" # check if the resulting symlink is sane [[ $(canonicalise "${MAKE_PROFILE}") != "$(canonicalise "${EROOT}")"/* ]] \ + && [[ -z ${force} ]] \ && write_warning_msg "Strange path. Check ${MAKE_PROFILE} symlink" return 0 |