From 805639f16c742f54d518d4ffb952ef3814755bc3 Mon Sep 17 00:00:00 2001 From: wollew Date: Wed, 1 Nov 2023 13:01:11 +0100 Subject: [PATCH] fixes typo in bash variable name (#179) Co-authored-by: Wolfgang Miller-Reichling --- workflow/bw_auto_lock.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/bw_auto_lock.sh b/workflow/bw_auto_lock.sh index 06d158a..b1cd05a 100755 --- a/workflow/bw_auto_lock.sh +++ b/workflow/bw_auto_lock.sh @@ -104,7 +104,7 @@ echo "found workflow v${alfred_workflow_version} at ${wf_dir}" 1>&2 WF_PATH=$(_get_var_from_plist "${prefsplist}" PATH) [ -n "${WF_PATH}" ] || { echo "Bitwarden CLI Path not set in workflow configuration"; exit 1; } BW_EXEC=$(_get_var_from_plist "${infoplist}" variables.BW_EXEC) -if ! hash "${bwexec}" 2>/dev/null; then +if ! hash "${BW_EXEC}" 2>/dev/null; then echo "bw command not found, check PATH env variable"; exit 1; fi