mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-27 10:03:08 +02:00
modulecmd: cleanup in 1.1.22 after cherry-picking
This commit is contained in:
@@ -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