MANPATH setting is fragile - Redmine #3219
Archive from user: Jellby empty
In Ubuntu 18.04, with TeXLive, I have:
$ echo $MANPATH :/usr/local/texlive/2019/texmf-dist/doc/man
After sourcing GMXRC.bash:
$ . /usr/local/gromacs/bin/GMXRC.bash $ echo $MANPATH /usr/local/gromacs/share/man:/usr/local/texlive/2019/texmf-dist/doc/man $ man bash No manual entry for bash See 'man 7 undocumented' for help when manual pages are not available.
It seems GMXRC.bash assumes that MANPATH will be empty or end with a colon, but in my case it starts with a colon.
See #2628 and
(from redmine: issue id 3219, created on 2019-11-29 by gmxdefault)