phase2: update script, make useful for general case

ADP-179_sops_manage_keys
LeeW 11 months ago
parent d120c13544
commit fa5739c24f

@ -64,6 +64,7 @@ EOM
} }
# UPDATE SOPS CONFIG # UPDATE SOPS CONFIG
# TODO: remove the 'pushd;popd' workaround and make the functions aware of the dir being read
pushd "${keyfiles_dir}" > /dev/null 2>&1 pushd "${keyfiles_dir}" > /dev/null 2>&1
(fn_update_sops_config) > "${sops_config}" (fn_update_sops_config) > "${sops_config}"
popd > /dev/null 2>&1 popd > /dev/null 2>&1

Loading…
Cancel
Save