<html><head><meta http-equiv="Content-Type" content="text/html charset=koi8-r"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Yes, but MacPorts can control this. Instead of specifying "export PATH=/opt/local/bin:/opt/local/sbin:$PATH" in ~/.bash_profile it can (and should) specify it system-wide in /etc/bashrc - in this way there will be no problem with programs which is also installed by Apple like svn - all programs will be the same version (installed by MacPorts).<div><br></div><div>#&nbsp;svn --version<br>svn, version 1.7.10 (r1485443)</div><div><br></div><div>$&nbsp;sudo -i svn --version<br>svn, version 1.8.8 (r1568071)<br><div>
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div><br class="Apple-interchange-newline">--</div><div>Виталий</div></span>
</div>
<br><div><div>10 апр. 2014 г., в 18:37, Brandon Allbery &lt;<a href="mailto:allbery.b@gmail.com">allbery.b@gmail.com</a>&gt; написал(а):</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Apr 10, 2014 at 6:39 AM, Помазёнков Виталий <span dir="ltr">&lt;<a href="mailto:vitorg@yandex.ru" target="_blank">vitorg@yandex.ru</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div style="word-wrap:break-word">
<div><div>Type command sudo -i and fill your password.</div><div>Type command echo $PATH.</div><div><br></div><div><b>Result</b></div><div><br></div><div>/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/opt/local/bin:/opt/local/sbin</div>
</div></div></div></blockquote><div><br></div><div>This is sudo's doing (and Apple's insofar as Apple determines both sudo configuration and how the root account works), because you used -i. MacPorts can't control either one. Try sudo -s instead; it preserves your environment.</div>
<div><br></div></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>
<div>unix, openafs, kerberos, infrastructure, xmonad &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://sinenomine.net/" target="_blank">http://sinenomine.net</a></div></div>
</div></div>
</blockquote></div><br></div></body></html>