mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-29 10:49:41 +02:00
bugfix: exporting PMODULES_ENV
This commit is contained in:
@@ -134,6 +134,7 @@ save_env() {
|
||||
|
||||
local s=$(typeset -p ${vars[@]})
|
||||
declare -gx PMODULES_ENV=$( encode_base64 "$s" )
|
||||
export_env 'PMODULES_ENV'
|
||||
}
|
||||
|
||||
#
|
||||
@@ -141,7 +142,6 @@ save_env() {
|
||||
#
|
||||
_exit() {
|
||||
save_env "${g_env_must_be_saved}"
|
||||
export_env 'PMODULES_ENV'
|
||||
if [[ -n "${tmpfile}" ]] && [[ -e "${tmpfile}" ]]; then
|
||||
${rm} -f "${tmpfile}" || :
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user