Commit Graph

39 Commits

Author SHA1 Message Date
6eeb0a2f69 scripts/Bootstrap/Pmodules/modulecmd.in:
- cache 'FAMILES' and 'HIERARCHY_DEPTHS'
- usage output reviewed
- append_path (), prepend_path(), remove_path() moved to libpmodules
- is_modulefile() added (testing shebang)
- argument/option handling reviewed, using 'getopt' now for all sub-commands
- in sub-command 'load': testing whether a module is loadable improved
- use 'info' for most output
- bugfixes
2015-04-07 15:32:55 +02:00
df9adc8251 scripts/Bootstrap/Pmodules/libpmodules.bash:
- set 'bindir' if not set
- '\n' removed from info() and error()
- die() always prints to stderr
- get_abspath(), append_path(), prepend_path(), remove_path() added
2015-04-07 15:26:06 +02:00
2d0b29ec5d scripts/Bootstrap/Pmodules/modulecmd.in: cleanup 2015-03-30 17:35:37 +02:00
40e0143b9f scripts/Bootstrap/Pmodules/libmodules.tcl: add debug output if PREFIX does not exist 2015-03-23 17:01:24 +01:00
d722a60c89 scripts/Bootstrap/Pmodules/modmanage.in: bugfix in sub-command 'install' 2015-03-18 18:37:57 +01:00
731805801c Merge branch 'master' of gitorious.psi.ch:pmodules/src 2015-03-18 18:25:50 +01:00
a85c5070ca scripts/Bootstrap/Pmodules/modmanage.in: in sub-command 'install': options '--dry-run' and '--force' added; do not re-sync existing moules if not forced 2015-03-18 18:25:39 +01:00
247d9431b5 scripts/Bootstrap/Pmodules/modmanage.in: in sub-command 'init': option '--version=' added, with this option you specify the version of Pmodules to be sync'ed 2015-03-18 18:08:05 +01:00
a777b1240c scripts/Bootstrap/Pmodules/modulecmd.in: unset CDPATH added; print message in sub-command 'load' if no module specified 2015-03-18 17:46:18 +01:00
406536df53 scripts/Bootstrap/Pmodules/modmanage.in: unset CDPATH added 2015-03-18 17:44:57 +01:00
6a7ae8ed52 scripts/Bootstrap/Pmodules/bash: run module purge and re-initialize everything 2015-03-18 14:50:41 +01:00
0366201a0b scripts/Bootstrap/Pmodules/environment.bash.in: hardcoded version replaced with @PMODULES_VERSION@ 2015-03-17 17:30:34 +01:00
30e636c030 scripts/Bootstrap/Pmodules/bash: set MODULEPATH if empty only; remove old PMODUES_HOME in PATH and MANPATH; legacy variables MODULE_VERSION, MODULE_VERSION_STACK and MODULESHOME removed 2015-03-17 17:29:09 +01:00
9a745ecfc8 scripts/Bootstrap/Pmodules/environment.bash: renamed 2015-03-17 17:22:15 +01:00
2fb13788e5 scripts/Bootstrap/Pmodules/modmanage.in: sub-command 'install' implemented 2015-03-17 10:59:47 +01:00
2c2a4f669d scripts/Bootstrap/Pmodules/modulecmd.in: redirect output of sub-command 'search' to stderr if option '--print-modulefiles' is used 2015-03-17 10:05:25 +01:00
c537be0ed9 scripts/Bootstrap/Pmodules/modulecmd.in: '--src=<dir>' option added to search sub-command 2015-03-13 15:33:23 +01:00
543f7fa523 scripts/Bootstrap/Pmodules/modmanage.in: create dir '/modulefiles'; add installation source to environment.bash 2015-03-13 15:31:56 +01:00
78af18063c scripts/Bootstrap/Pmodules/libpmodules.bash: 'check_modules_env()' splitted into 'check_pmodules_env_vars()' and 'check_pmodules_directories()' 2015-03-13 15:27:37 +01:00
ee289e156a scripts/Bootstrap/Pmodules/modulecmd.in: option '--print-modulefiles' added to search sub-command 2015-03-12 18:37:39 +01:00
6952b1a732 scripts/Bootstrap/Pmodules/modmanage.in: sub-command install added, not yet functional 2015-03-12 18:36:41 +01:00
8468c84b76 scripts/Bootstrap/Pmodules/modulecmd.in: bugfix: get_family() now returns empty string, if no modulefiles are installed 2015-03-12 17:04:51 +01:00
f432e05df9 scripts/Bootstrap/Pmodules/modmanage.in: bugfix 2015-03-12 17:02:50 +01:00
9e7255fa0a file for csh support added, still not usable 2015-03-11 16:55:52 +01:00
8f3edefc08 scripts/Bootstrap/Pmodules/modulecmd.in: indentation fixed 2015-03-06 16:27:26 +01:00
77d0ab6736 scripts/Bootstrap/Pmodules/modmanage.in: bugfixes in dry-run of init 2015-03-06 11:05:42 +01:00
35fe97042f scripts/Bootstrap/Pmodules/modmanage.in: bugfixes in init sub-command 2015-03-06 10:54:18 +01:00
07e31a1855 Bootstrap/Pmodules/modmanage.in: try to install module- and release-file only if they exist 2015-03-05 13:23:37 +01:00
8ee8c3d954 scripts/Bootstrap: introduce libpmodules.bash; function to sync modules added 2015-03-05 11:38:21 +01:00
afa18de45e Bootstrap: first usefull version of modmanage 2015-03-04 18:26:22 +01:00
2a8cd068ea Bootstrap/Pmodules/modulecmd.tcl: added but still unused 2015-03-04 18:24:57 +01:00
37cd92fad3 Bootstrap/Pmodules/modulecmd.in: minor fix in usage output 2015-03-04 18:21:47 +01:00
5c797ba005 Bootstrap/Pmodule/init_local_env.bash renamed 2015-03-04 15:29:18 +01:00
1aa3367ad7 scripts/Bootstrap: modulecmd.bash renamed to modulecmd.in 2015-03-04 14:25:08 +01:00
f15209ee28 scripts/Bootstrap/Pmodules/init_local_env.bash: almost rewritten 2015-03-03 17:27:16 +01:00
4674e60e60 Bootstrap/Pmodules/init_local_env.bash: adapted to recent changes of Pmodules 2015-03-03 14:55:54 +01:00
96011a8873 Merge branch 'master' of gitorious.psi.ch:scicomp/psi-modules-buildenvironment 2015-03-02 13:31:13 +01:00
7690327e9e Bootstrap: reorganization, bugfixes 2015-02-27 22:49:18 +01:00
6c8e2c9fa9 lib/libem.bash: bugfixes 2015-02-27 22:47:20 +01:00