<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/54827a774c1f63f2cf143311217b4fc22d959318">https://github.com/macports/macports-base/commit/54827a774c1f63f2cf143311217b4fc22d959318</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new 54827a7  diagnose: Fix reversed logic when fixing PATH
</span>54827a7 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 54827a774c1f63f2cf143311217b4fc22d959318
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Fri Oct 6 17:41:02 2017 +0200

<span style='display:block; white-space:pre;color:#404040;'>    diagnose: Fix reversed logic when fixing PATH
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Although counterintuitively, the ui_options(questions_yesno) proc will
</span><span style='display:block; white-space:pre;color:#404040;'>    return 0 for yes and 1 for no.
</span>---
 src/macports1.0/diagnose.tcl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

<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 2aea94f..20705ba 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;'>@@ -707,7 +707,7 @@ namespace eval diagnose {
</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?"]
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                if {$retval} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                if {$retval == 0} {
</span>                     # XXX: this should use the same paths and comments as the
                     # postflight script of the pkg installer. Maybe they could even
                     # share code?
</pre><pre style='margin:0'>

</pre>