> On Oct 1, 2014, at 3:54 PM, Erik Andreas Cayré <[email protected]> wrote: > > > Den 01/10/2014 kl. 22.48 skrev Ryan Schmidt <[email protected]>: > >>>> After some research, I still can't locate the correct place to remedy the >>>> missing paths problem. >>>> I know I can add the paths with the EXPORT command, but I would like to >>>> learn the 'correct' place where "/opt/local/bin:/opt/local/sbin:" should >>>> be located. >> >> The correct place is your shell startup file. >> >> If you're using bash, that might be ~/.bash_profile or ~/.bashrc or >> ~/.profile. > > Hi Ryan, > > I understand this is not really a MacPorts problem, but I'll ask anyway:) > > bash-3.2# cat ~/.profile > > # MacPorts Installer addition on 2013-12-06_at_09:58:25: adding an > appropriate PATH variable for use with MacPorts. > export PATH=/opt/local/bin:/opt/local/sbin:$PATH > # Finished adapting your PATH environment variable for use with MacPorts. > > bash-3.2# echo $PATH > /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/local/lib/mysql55/bin > > Do you have any idea why the entry in .profile is not actually present in > $PATH ?
Possibly because you have a file called .bash_profile in the same directory? If so, bash will prefer to use that. _______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
