aboutsummaryrefslogtreecommitdiff
path: root/lib/subcommands/sync.bash
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2023-03-10 10:49:16 +0100
committerPatrick Spek <p.spek@tyil.nl>2023-03-10 10:49:16 +0100
commit37749ec5c115adff9ed10d9a829f9af5f29776f4 (patch)
tree0a78f64bbc6f34261f32585bf9de721af20b96bb /lib/subcommands/sync.bash
parent28c55aa1a8c82def2ffdb3e000812a5523371ac5 (diff)
Update new code for shellcheck compliancy
Diffstat (limited to 'lib/subcommands/sync.bash')
-rw-r--r--lib/subcommands/sync.bash4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/subcommands/sync.bash b/lib/subcommands/sync.bash
index 6bda162..8d437f6 100644
--- a/lib/subcommands/sync.bash
+++ b/lib/subcommands/sync.bash
@@ -28,9 +28,11 @@ subcommand()
sync_playbook()
{
- local playbook_base="$(playbook_path "base")"
+ local playbook_base
local missing_vars=0
+ playbook_base="$(playbook_path "base")"
+
notice "bashtard/sync" "Running sync for $BASHTARD_PLAYBOOK"
if [[ ! -d "$playbook_base" ]]