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:
2022-03-02 09:20:04 +01:00
parent 4617b1ff39
commit ca59c2a24d
+1 -1
View File
@@ -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'
}