Dear All,
It is now possible to define default values for path-like environment
variables (such as MANPATH) before they're first updated, ensuring system
defaults are preserved.
This feature is based on the new "init_envvars" configuration option.
For example, with the following configuration:
$ module config init_envvars MANPATH=
loading a module that prepends a directory to MANPATH:
prepend-path MANPATH /opt/pkg/man
will keep a colon character at the end of MANPATH
$ echo $MANPATH
/opt/pkg/man:
Learn more at
https://modules.readthedocs.io/en/latest/MIGRATING.html#initialize-environment-variables-on-first-modification
Best regards,
Xavier
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#41): https://lists.hpsf.io/g/modules-interest/message/41
Mute This Topic: https://lists.hpsf.io/mt/120277516/10150481
Group Owner: mod...@li...
Unsubscribe: https://lists.hpsf.io/g/modules-interest/unsub [mod...@li...]
-=-=-=-=-=-=-=-=-=-=-=-
|