<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/497aed0b6458bc6a28343f72b060671e386c9d6d">https://github.com/macports/macports-base/commit/497aed0b6458bc6a28343f72b060671e386c9d6d</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 497aed0b6458bc6a28343f72b060671e386c9d6d
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Fri Oct 6 18:06:42 2017 +0200
<span style='display:block; white-space:pre;color:#404040;'> diagnose: Add guide link for shell configuration
</span>---
src/macports1.0/diagnose.tcl | 3 +++
1 file changed, 3 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/macports1.0/diagnose.tcl b/src/macports1.0/diagnose.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 567a2ab..2f83abc 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/macports1.0/diagnose.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/macports1.0/diagnose.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -696,6 +696,9 @@ namespace eval diagnose {
</span> if {"$port_loc/bin" ni $split || "$port_loc/sbin" ni $split} {
ui_warn "Your \$PATH environment variable does not currently include $port_loc/bin or $port_loc/sbin"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_msg "Please refer to the guide on how to configure your shell:"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_msg " https://guide.macports.org/#installing.shell"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # XXX Only works for bash. Should set default profile_path based on the shell.
if {[info exists macports::ui_options(questions_yesno)] && $shell_name eq "bash"} {
set retval [$macports::ui_options(questions_yesno) "" "DiagnoseFixPATH" "" n 0 "Would you like to add $port_loc/bin to your \$PATH variable now?"]
</pre><pre style='margin:0'>
</pre>