On Feb 20, 2013, at 3:22 AM, Harald Hanche-Olsen <[email protected]> wrote:
> ["Richard R. Cahilig" <[email protected]> (2013-02-19 22:39:32 UTC)] > >> Sorry about the typo. >> >> export PATH="/opt/local/bin:/opt/local/sbin:$PATH" > > Another way to do that is to put this in a file in /etc/paths.d/: > > /opt/local/bin > /opt/local/sbin These are not equivalent. Directory entries added via /etc/paths.d are tacked onto the *end* of the default PATH, while the quoted "export" statement adds them to the *beginning*. The latter is necessary if you want your shell to find MacPorts executables before system ones. vq _______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
