This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: openssl - MANPATH - bug?
Corinna schrieb:
>> > You've assumed that MANPATH had a previous value.
>>
>> This is the default file which gets installed with openssl by setup.exe.
>> So if there is no previous value for MANPATH this cannot work.
>> Other application are looking for MANPATH in the environment and don't
>> find other manpages in /usr/man e.g.
> Did you actually try it? If MANPATH has a leading colon, it's *appended*
> to the internal search path. If not, it's used exclusivly.
> $ export MANPATH="/usr/ssl/man"
> $ man man
> No manual entry for man
> $ export MANPATH=":/usr/ssl/man"
> $ man man
> [Man page follows]
Hmmm, my script isn't able to benefit from this behaviour.
It looks like this:
if [[ -z $MANPATH ]]; then
manpath="/usr/local/man /usr/man"
else
manpath=${MANPATH//:/ }
fi
Then there will be searched in this 'PATH': :/usr/ssl/man
and the man manpage gets not found there.
I'll change it.
>>
>> > Earnie.
>>
>> > "Gerrit P. Haase" wrote:
>> >>
>> >> Hallo,
>> >>
>> >> This
>> >> $ cat /etc/profile.d/openssl.sh
>> >> export MANPATH="${MANPATH}:/usr/ssl/man"
>> >>
>> >> results in:
>> >> $ set | grep MANPATH
>> >> MANPATH=:/usr/ssl/man
--
=^..^=
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/