Commit cdf812f Robert McLay
committed
1 parent 937b8c1 commit cdf812f Copy full SHA for cdf812f
File tree 3 files changed +8
-3
lines changed
3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -19,3 +19,5 @@ Lmod 7.8+
19
19
(7.8.11) Allow MODULERCFILE to be a colon separated list with the priority be left to right instead of right to left.
20
20
(7.8.12) added cc test case for issues with choosing the correct module when doing reloadAll()
21
21
(7.8.13) issue #394: Only reload modules when the userName has remained the same in mt.
22
+ (7.8.14) Add Lmod version report to --trace output.
23
+
Original file line number Diff line number Diff line change @@ -197,11 +197,11 @@ EPOCH()
197
197
initStdEnvVars ()
198
198
{
199
199
while IFS=' =' read -r name value; do
200
- if [ $name = " LMOD_CMD" ] || [ $name = " LMOD_DIR" ]; then
200
+ if [ " $name " = " LMOD_CMD" ] || [ " $name " = " LMOD_DIR" ]; then
201
201
:
202
- elif [[ $name =~ ^__LMOD_REF_COUNT.* ]]; then
202
+ elif [[ " $name " =~ ^__LMOD_REF_COUNT.* ]]; then
203
203
unset $name
204
- elif [[ $name =~ ^LMOD.* ]]; then
204
+ elif [[ " $name " =~ ^LMOD.* ]]; then
205
205
unset $name
206
206
fi
207
207
done < <( env)
Original file line number Diff line number Diff line change @@ -396,6 +396,9 @@ function main()
396
396
local tracing = cosmic :value (" LMOD_TRACING" )
397
397
if (tracing == " yes" ) then
398
398
local a = {}
399
+ a [# a + 1 ] = " Lmod version: "
400
+ a [# a + 1 ] = Version .name ()
401
+ a [# a + 1 ] = " \n "
399
402
a [# a + 1 ] = " running: module "
400
403
a [# a + 1 ] = concatTbl (arg ," " )
401
404
a [# a + 1 ] = " \n "
You can’t perform that action at this time.
0 commit comments