aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--modules/profile.eselect1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 31418dd..89fe111 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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