mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-11-11 16:53:55 +01:00
modulecmd: on Linux base64 always wraps long line, fixed for Linux
This commit is contained in:
1 parent
078653c6c7
commit
e2385ac368
1 file changed
+1
-1
@@ -104,7 +104,7 @@ save_env() {
|
||||
vars+=( OverlayDict Dir2OverlayMap)
|
||||
|
||||
local s=$(typeset -p ${vars[@]})
|
||||
declare -g PMODULES_ENV=$( "${base64}" <<< "$s" )
|
||||
declare -g PMODULES_ENV=$( "${base64}" --wrap=0 <<< "$s" )
|
||||
export_env 'PMODULES_ENV'
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user