From f86b074648e4b0f696529dbf4f9c30409592f279 Mon Sep 17 00:00:00 2001 From: LeeW Date: Mon, 17 Feb 2025 13:07:42 +0100 Subject: [PATCH] sops automation: fixes config dir specification, fix for fix --- bin/update_sops.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/update_sops.sh b/bin/update_sops.sh index 5ff84f6..425d4a4 100755 --- a/bin/update_sops.sh +++ b/bin/update_sops.sh @@ -171,7 +171,7 @@ function main(){ keyfiles_dir="$(realpath "${keyfiles_dir}")" test -d "${keyfiles_dir}" || (echo "E: specify dir containing keyfiles; invalid dir: '${keyfiles_dir}'" && exit 1) sops_config="" - if [[ -n "${sops_cfg_dir:-}" ]]; then + if [[ -n "${sops_config_dir:-}" ]]; then sops_config_dir="$(realpath "${sops_config_dir}")" test -d "${sops_config_dir}" || (echo "E: specify dir containing .sops.yaml, invalid dir: '${sops_config_dir}'" && exit 1) sops_config="${sops_config_dir}/.sops.yaml"