Skip to content

Commit baee1ef

Browse files
author
Robert McLay
committed
Allow remove_path() to remove path entries during unload mode
1 parent 34687a5 commit baee1ef

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.new

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
Lmod 7.8+
22
(7.8.1) Change unload() to unload in both load and unload modes. Updated documentation.
3+
remove_path() remove path entries during unload.
4+

src/MC_Unload.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ M.prepend_path = MasterControl.remove_path_first
7070
M.prereq = MasterControl.quiet
7171
M.prereq_any = MasterControl.quiet
7272
M.pushenv = MasterControl.popenv
73-
M.remove_path = MasterControl.quiet
73+
M.remove_path = MasterControl.remove_path
7474
M.remove_property = MasterControl.quiet
7575
M.report = MasterControl.warning
7676
M.setenv = MasterControl.unsetenv

0 commit comments

Comments
 (0)