Skip to content

Commit 664040b

Browse files
committed
Fix module name
1 parent 1485181 commit 664040b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

init/modules/EESSI/2023.06.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ end
236236
-- Filter system paths from LD_LIBRARY_PATH
237237
-- Needs to be reversible so first make a copy
238238
append_path ("EESSI_DEFAULT_HOST_LD_LIBRARY_PATH", os.getenv("LD_LIBRARY_PATH") or "")
239-
-- on unload the variable will no longer exist
240239
local function remove_system_paths(var)
241240
local paths = os.getenv(var)
242241
local system_lib_patterns = {
@@ -255,8 +254,9 @@ local function remove_system_paths(var)
255254
end
256255
end
257256
end
257+
-- on unload the variable will no longer exist
258258
if mode() == "load" then
259-
remove_matching_paths("EESSI_DEFAULT_HOST_LD_LIBRARY_PATH")
259+
remove_system_paths("EESSI_DEFAULT_HOST_LD_LIBRARY_PATH")
260260
end
261261
-- now we can use pushenv to retain/restore the original value
262262
pushenv ("LD_LIBRARY_PATH", os.getenv("EESSI_DEFAULT_HOST_LD_LIBRARY_PATH") or "")

0 commit comments

Comments
 (0)