mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-27 10:03:08 +02:00
modulecmd: base64 can be called without --wrap
- base64 on macOS does not support the option --wrap. Since we running it in a sub-process, the option is not required anyway.
This commit is contained in:
@@ -104,7 +104,7 @@ save_env() {
|
||||
vars+=( OverlayDict Dir2OverlayMap)
|
||||
|
||||
local s=$(typeset -p ${vars[@]})
|
||||
declare -g PMODULES_ENV=$( "${base64}" --wrap=0 <<< "$s" )
|
||||
declare -g PMODULES_ENV=$( "${base64}" <<< "$s" )
|
||||
export_env 'PMODULES_ENV'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user