mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-11-27 23:17:46 +01:00
modulecmd: cleanup in 1.1.22 after cherry-picking
This commit is contained in:
1 parent
6c6227e3ea
commit
378d7e8ac8
1 file changed
-4
@@ -798,10 +798,6 @@ subcommand_load() {
|
||||
fi
|
||||
|
||||
local m=''
|
||||
if [[ ! -v LOADEDMODULES ]]; then
|
||||
LOADEDMODULES=''
|
||||
_LMFILES_=''
|
||||
fi
|
||||
for m in "${args[@]}"; do
|
||||
IFS=':' read -r -a modulepath <<< "${MODULEPATH}"
|
||||
if [[ "$m" == *:* ]]; then
|
||||
|
||||
Reference in new issue
Block a user