- Make separator lines, used on
display
command result for instance, fit small screen width. - Install: give ability to build and install Modules from git repository without documentation if
sphinx-build
cannot be found. - Install: adapt
configure
script and Makefiles to support installation on FreeBSD, Solaris and OS X systems. (fix issue#147) - Rework code generated by
autoinit
for sh-kind shells to avoid use of local variables as those are defined differently through the sh variants. (also fix issue#147) - Init: use a default value on undefined variables in sh-kind scripts to avoid unbound variables in bash
-eu
mode. (fix issue#151) - Correctly detect terminal column number on Solaris.
- Init: fix csh init script to get compatibility with pure csh shell
- Sanitize content of
MODULEPATH
before using it at run-time, to make potential relative paths absolute, remove trailing slashes, etc. (fix issue#152) - Check loaded modulefiles still exists before displaying statistics on them during a
list
action. - Use a specific reference counter variable name (
MODULES_MODSHARE_<VAR>
instead of<VAR>_modshare
) for DYLD-specific variables. (fix issue#153) - No error raise when updating a DYLD or LD path-like variable on OS X when System Integrity Protection (SIP) is enabled. In this situation, these variables are not exported in subshell context, so they appear undefined.
- Init: protect arguments passed to the
_moduleraw
sh function from interfering content of current working directory. (fix issue#154) - Install: move
hostname
RPM requirement to the compat sub-package. - Start pager process only if some text has to be printed. (partially fix issue#146)
- Ignore
PAGER
environment variable to configure Modules pager to avoid side effects coming from a general pager configuration not compatible with Modules pager handling. (fix issue#146) - Do not blank anymore default Modules pager options if default pager is
less
when theLESS
environment variable is defined. (fix issue#146)
Warning: With this bugfix release, changes have been made on the pager setup to avoid side effects coming from the system general pager configuration. As a result PAGER
environment variable is now ignored and MODULES_PAGER
should be used instead to adapt Modules pager configuration at run-time.