From ca59c2a24dd3dc10d997a3dcf24b24a064f8d796 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Wed, 2 Mar 2022 09:20:04 +0100 Subject: [PATCH] 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. --- Pmodules/modulecmd.bash.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pmodules/modulecmd.bash.in b/Pmodules/modulecmd.bash.in index cc87938..465e16c 100644 --- a/Pmodules/modulecmd.bash.in +++ b/Pmodules/modulecmd.bash.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' }