> > When Fink is installed, INFOPATH is changed by /sw/bin/init.sh,
> > starting at line 67:
> >
> > if [ -z "$INFOPATH" ]; then
> > INFOPATH=/sw/share/info:/sw/info:/usr/share/info
> > else
> > prepend_path INFOPATH /sw/share/info:/sw/info
> > fi
> > export INFOPATH
> >
> > The problem occurs when INFOPATH is not set, and /sw/bin/init.sh
> > sets it. Then, `info' only searches in INFOPATH, not anymore in the
> > compile-time default directories.
> >
> > Solution:
> >
> > Add a colon to INFOPATH. This makes `info' search INFOPATH and then
> > the compile-time default directories.
> >
> > if [ -z "$INFOPATH" ]; then
> > - INFOPATH=/sw/share/info:/sw/info:/usr/share/info
> > + INFOPATH=/sw/share/info:/sw/info:/usr/share/info:
> > else
>
> I suspect the inclusion of /usr/share/info was designed to avert this
> problem, however that's clearly an incomplete solution now. Is there a
> reason we need to put /usr/share/info ahead of all the other default
> search paths, or should we just do the same "prepend fink to the
> defaults" that we (try to) do in other cases?
>
> if [ -z "$INFOPATH" ]; then
> - INFOPATH=/sw/share/info:/sw/info:/usr/share/info
> + INFOPATH=/sw/share/info:/sw/info:
> else

That looks like the cleanest solution to me.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to