mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-26 17:43:09 +02:00
modulecmd.bash.in: save_env(): no need to export UsedGroups
This commit is contained in:
@@ -112,6 +112,7 @@ save_env() {
|
||||
local s=$(typeset -p ${vars[@]})
|
||||
declare -g PMODULES_ENV=$( "${base64}" --wrap=0 <<< "$s" )
|
||||
export_env 'PMODULES_ENV'
|
||||
unset UsedGroups
|
||||
}
|
||||
|
||||
trap 'save_env ' EXIT
|
||||
|
||||
Reference in New Issue
Block a user