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

Szilárd Páll pall.szilard at gmail.com
Tue Aug 7 14:45:47 CEST 2018


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