Problem:
`info' contents changes when installing Fink.
Cause:
When Fink is not installed, the environment variable INFOPATH is not
set. This causes `info' to search in compile-time default
directories.
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.
This requires changing the above excerpt of /sw/bin/init.sh as
follows:
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
Versions:
- Fink 0.25.2 / 0.8.1.rsync
- OS X 10.4.8 Intel
- /usr/bin/info 4.7
- /sw/bin/info 4.8
-------------------------------------------------------------------------
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