[gmx-users] GMXRC removes trailing colon from existing MANPATH

Peter Kroon p.c.kroon at rug.nl
Mon Aug 27 11:18:28 CEST 2018


Hi,


sorry for the late reply, holidays took priority :)

I made a redmine issue here: https://redmine.gromacs.org/issues/2628

What change would you like me to submit? I don't have a fix other than
simply appending a colon in my bashrc.


Peter


On 07-08-18 14:45, Szilárd Páll wrote:
> Hi,
>
> Can you please submit your change to gerrit.gromacs.org -- and perhaps it's
> best if you also file an issue on redmine.gromacs.org with your brief
> description you posted here?
>
> Thanks,
> --
> Szilárd
>
>
> On Fri, Jul 27, 2018 at 2:28 PM Peter Kroon <p.c.kroon at rug.nl> wrote:
>
>> Hi all,
>>
>> I noticed that sourcing GMXRC removes any trailing colons from a set
>> MANPATH environment variable. This colon *is* syntactically significant,
>> and removing it causes `mandb` to ignore /etc/manpath.config instead of
>> appending that file:
>>
>>
>>> unset MANPATH
>>> export MANPATH=/opt/puppetlabs/puppet/share/man:
>>> # Note the trailing colon
>>> echo $MANPATH
>> /opt/puppetlabs/puppet/share/man:
>>> mandb
>> mandb: warning: $MANPATH set, appending /etc/manpath.config
>> ...
>>> source /usr/local/gromacs-2018.1/bin/GMXRC
>>> # No more trailing colon
>>> echo $MANPATH
>>> /usr/local/gromacs-2018.1/share/man:/opt/puppetlabs/puppet/share/man
>> mandb: warning: $MANPATH set, ignoring /etc/manpath.config
>> ...
>>
>> Should I also report this on redmine, or is this sufficient?
>>
>>
>> Peter
>>
>>
>> --
>> Gromacs Users mailing list
>>
>> * Please search the archive at
>> http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before
>> posting!
>>
>> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>>
>> * For (un)subscribe requests visit
>> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or
>> send a mail to gmx-users-request at gromacs.org.




More information about the gromacs.org_gmx-users mailing list