How would I get this to reflect the /opt location?
$whereis apachectl
/usr/sbin/apachectl
Just put /opt/local/apache2/bin/ at the front of your PATH env var.
I have had that for ages:
$echo $PATH
/opt/local/bin:/opt/local/sbin:/Users/me/bin:/usr/bin:/bin:/usr/sbin:/
sbin:/usr/local/bin:/usr/X11/bin
Maybe it can not be changed:
DESCRIPTION
The whereis utility checks the standard binary directories for
the speci-
fied programs, printing out the paths of any it finds.
I think the answer is going to be to use `which`
$which perl
/opt/local/bin/perl
$whereis perl
/usr/bin/perl
Or maybe even better:
$which -a perl
/opt/local/bin/perl
/usr/bin/perl
--
Scott * If you contact me off list replace talklists@ with scott@ *
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users