In r1.1, this is almost fixed, the only problem is that the MANPATH variable keeps growing. For example, sqenvr.sh was invoked several times like this:
$ . ./sqenvr.sh $ env > env_2 $ . ./sqenvr.sh $ env > env_3 $ . ./sqenvr.sh $ env > env_4
Differences between the env_2, env_3 and env_4 files were only the growth of MANPATH:
$ diff env_3 env_4 < MANPATH=:<dir>/sqf/export/share/man:<dir>/sqf/export/share/man --- > MANPATH=:<dir>/sqf/export/share/man:<dir>/sqf/export/share/man:<dir>/sqf/export/share/man $
In r1.1, this is almost fixed, the only problem is that the MANPATH variable keeps growing.
For example, sqenvr.sh was invoked several times like this:
$ . ./sqenvr.sh
$ env > env_2
$ . ./sqenvr.sh
$ env > env_3
$ . ./sqenvr.sh
$ env > env_4
Differences between the env_2, env_3 and env_4 files were only the growth of MANPATH:
$ diff env_3 env_4 :<dir>/ sqf/export/ share/man: <dir>/sqf/ export/ share/man :<dir>/ sqf/export/ share/man: <dir>/sqf/ export/ share/man: <dir>/sqf/ export/ share/man
< MANPATH=
---
> MANPATH=
$