Commit Graph

21 Commits

Author SHA1 Message Date
gsell 756c00b921 modulecmd: derive prefix from directory of init scripts 2025-01-09 09:49:15 +01:00
gsell de9e22d91d modulecmd: quoting in module function fixed 2024-08-08 16:51:12 +02:00
gsell 6bfd3f5cf2 init/bash: cleanup 2022-06-30 17:50:53 +02:00
gsell a5afd75a5e modbuild(function): no need to load System:bash any more 2022-06-30 10:33:22 +02:00
gsell d1a557f663 bash initialisation: don't unset PMODULES_ENV 2022-06-24 18:56:50 +02:00
gsell aa8fcd7a8a modbuild: is now defined as function analog to module() 2022-06-09 10:32:05 +02:00
gsell 0b43ed2280 derive PMODULES_ROOT from PMODULES_HOME 2022-05-13 11:32:35 +02:00
gsell 85c89df9f5 initialization of Pmodules environment reviewed
- introduce new configuration file ${PMODULES_ROOT}/config/Pmodules.conf
- move as much as possible from profile.bash and init/bash to
  modulecmd
- expose less environment variables to the user
2021-05-26 16:43:38 +02:00
Achim Gsell 0689b04259 do not add the Pmodules bin directory to PATH 2021-03-12 11:51:49 +01:00
gsell e86930feee simplified module() function, do NOT loop over arguments
- all arguments are passed to modulemcd without being parsed/checked
2019-05-16 16:06:26 +02:00
gsell 9d2974dd9c unset PMODULES_ENV during initialization 2019-05-14 14:54:46 +02:00
gsell 2c92aa659d prepend Pmodules bin directory to PATH 2019-05-13 16:44:11 +02:00
gsell f05e9be3c1 cleanup initialisation
- Pmodules/bash: contains now only the 'module()' function, some sanity
  checks and initialization of bash completion plus unsetting some unused
  variables.
- Pmodules/libstd.bash: bug fixed in std::append_path if path includes spaces
- Pmodules/modulecmd.bash.in: (re-)initialize if 'PMODULES_ENV' is empty or
  unset
2019-04-29 17:15:01 +02:00
gsell b83f876289 Pmodules/bash:
- std::append_path() and std::replace_path(): bugfix: spaces in directory names were not handled correctly
2018-09-14 16:52:36 +02:00
gsell f40491b5e3 moved most of the BASH initialisation from config/profile.bash to init/bash 2018-07-11 10:18:26 +02:00
gsell 2242308298 Pmodules/bash
- unused PMOUDLES_USED_GROUPS removed
2017-11-08 12:57:17 +01:00
gsell d7dbccd0e4 Pmodules/bash
- bug-fix in passing options to modulecmd (issue #8)
2017-02-07 17:54:51 +01:00
gsell e0423db6f4 implement/fix issue #2: move additional binaries to "$PMODULES_HOME/sbin" 2017-01-09 17:25:51 +01:00
gsell b23f939948 Pmodules/bash
- unset BASH_ENV in module function
2017-01-09 12:06:37 +01:00
gsell 4120a8d39b bash init file: add comment 2015-09-29 13:26:37 +02:00
gsell 713762d4ff - Bootstrap/ moved one level up
- pmodules.xyz() functions renamed to pbuild::xyz()
- use pbuild for bootstrapping components
2015-09-17 15:03:03 +02:00