| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Tue, 2 Apr 2002 17:24:08 +0200 |
| From: | "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de> |
| Reply-To: | "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de> |
| Organization: | Esse keine toten Tiere |
| X-Priority: | 3 (Normal) |
| Message-ID: | <366074985.20020402172408@familiehaase.de> |
| To: | Corinna Vinschen <cygwin AT cygwin DOT com> |
| Subject: | Re: openssl - MANPATH - bug? |
| In-Reply-To: | <20020402161610.G1475@cygbert.vinschen.de> |
| References: | <1546990652 DOT 20020402145013 AT familiehaase DOT de> |
| <3CA9AB4F DOT 20167211 AT yahoo DOT com> <598230374 DOT 20020402151052 AT familiehaase DOT de> | |
| <20020402161610 DOT G1475 AT cygbert DOT vinschen DOT de> | |
| MIME-Version: | 1.0 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |