Commit Graph

75 Commits

Author SHA1 Message Date
8c418bbf7a scripts/Bootstrap/Pmodules/modmanage.in:
- header of delete_module() fixed
- in function subcommand_sync():
    - use value of PMODULES_INSTALL_SOURCE for src_prefix if not
      specified on command line
2015-04-15 16:13:51 +02:00
60859b9c40 Bugfix: first line was mistakingly overwritten with it's substitution 2015-04-15 13:17:23 +02:00
3d47e6b3f5 Make modmanage sync work with new module environment setup 2015-04-15 12:05:21 +02:00
f265261aef - Filter out .release files
- Exit with correct return value in non library mode
2015-04-15 12:03:16 +02:00
23c5586a28 Make dialog work again with the changed environment setup 2015-04-14 17:01:16 +02:00
cee56109cd Merge with Achims version 2015-04-13 15:51:51 +02:00
14f0356774 Merge branch 'master' of gitorious.psi.ch:pmodules/src
Conflicts:
	scripts/Bootstrap/Pmodules/libpmodules.bash
2015-04-13 15:38:09 +02:00
a519acdac0 Merge branch 'master' of gitorious.psi.ch:pmodules/src
Conflicts:
	scripts/Bootstrap/Pmodules/libpmodules.bash
	scripts/Bootstrap/Pmodules/modmanage.in
2015-04-13 15:35:25 +02:00
6e7025cad8 scripts/Bootstrap/Pmodules/modulecmd.in:
- bugfixes
- minor changes
2015-04-08 18:47:06 +02:00
0f08af57cb scripts/Bootstrap/Pmodules/bash:
- bugfix in handling sub-command without arguments
2015-04-08 18:46:01 +02:00
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
2fa3d39e21 scripts/Bootstrap/Pmodules_version.conf: bumped version to 0.99.2 2015-03-30 17:34:30 +02:00
15815f6e6a scripts/Bootstrap: read (P)MODULES_VERSION from Pmodules_version.conf 2015-03-23 18:40:21 +01:00
9e3f159bfc scripts/Bootstrap: read (P)MODULES_VERSION from Pmodules_version.conf 2015-03-23 18:40:03 +01: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
4fc10233c6 scripts/Bootstrap/Modules/build: bugfix: use PMODULES_VERSION to set TCL_DIR 2015-03-18 18:20:01 +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
907ab0d050 scripts/Bootstrap: all build dependencies removed 2015-03-18 17:49:04 +01:00
8a800c602f scripts/Bootstrap/compile_pmodules.sh: print message and exit, if something failed to compile 2015-03-18 17:47:20 +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
2172a047c1 ignore files edited 2015-03-17 17:32:24 +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
025180d9fc scripts/Bootstrap/install_pmodules.sh: run 'environment.bash.in' throu sed 2015-03-17 17:24:51 +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
0296400ffa Merged with newest version of Achim 2015-03-13 09:39:53 +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
ee4ac2a15f scripts/Bootstap: adapted to new Pmodules configuration file name 2015-03-06 10:59:48 +01:00
35fe97042f scripts/Bootstrap/Pmodules/modmanage.in: bugfixes in init sub-command 2015-03-06 10:54:18 +01:00
c9460c2e1f Merge branch 'master' of gitorious.psi.ch:scicomp/psi-modules-buildenvironment 2015-03-05 13:23:47 +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
612040c85f Merge branch 'master' of gitorious.psi.ch:scicomp/psi-modules-buildenvironment 2015-03-05 13:09:24 +01:00