Commit Graph

5 Commits

Author SHA1 Message Date
Xavier Delaruelle
66ea61c1c4 script: handle variable value change in createmodule.sh
When analyzing environment variable changes applied by shell script
passed as argument, produce a `setenv` modulefile statement for any
variable found set prior script evaluation and for which value is
completely changed after script evaluation.

Fixes #320
2020-03-05 05:45:46 +01:00
Xavier Delaruelle
6b95e5064e script: fix path deduplication in createmodule.sh
Fixes #316
2020-02-19 21:03:37 +01:00
Xavier Delaruelle
985aa88590 script: fix createmodule.{sh,py} for script outputting text
Inhibit output generated by scripts evaluated by createmodule.sh and
createmodule.py to ensure these outputs will not get in the way when
analyzing the environment change done by the evaluated scripts.

Fixes #309
2020-02-01 15:25:04 +01:00
Xavier Delaruelle
1ef61d6e77 script: avoid shell func defs in createmodule.sh
Fix createmodule.sh script to correctly analyses environment when shell
functions are found defined in it. These shell function definitions are
skipped.
2020-02-01 13:28:51 +01:00
Xavier Delaruelle
9ade952bea script: move all dist. and maint. scripts in a script dir 2020-01-12 13:31:21 +01:00