On May 23, 2012, at 2:57 PM, Josie Reinhardt wrote:

> I changed ~/.profile to:
> 
> PATH="$PATH:/opt/local/bin/:/opt/local/sbin/"
> export PATH
> 
> but something keeps adding /usr/bin, etc back in before /opt/local/bin/
> 
> $ echo $PATH
> /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin/:/opt/local/sbin/
> 
> I've tried to find another .profile .bash_profile or .bashrc file that
> could be overriding but I can't find it?

Indeed it is exactly what you set. The suggested path to use according to the 
guide [1] is as follows:

export PATH=/opt/local/bin:/opt/local/sbin:$PATH


Cheers!
Frank

[1] <https://trac.macports.org/wiki/InstallingMacPorts>


_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to