From a906f14ce8ebcb8f513080e8306ba14e02a9ce3d Mon Sep 17 00:00:00 2001 From: Juan David Hurtado G Date: Sun, 15 Dec 2024 10:51:30 -0500 Subject: [PATCH] shellcheck: fix double quote on `update TEMPLATES` --- usr/local/share/bastille/update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/local/share/bastille/update.sh b/usr/local/share/bastille/update.sh index 4304a73a..60458a81 100644 --- a/usr/local/share/bastille/update.sh +++ b/usr/local/share/bastille/update.sh @@ -145,8 +145,8 @@ templates_update() { _updated_templates=0 if [ -d "${bastille_templatesdir}" ]; then # shellcheck disable=SC2045 - for _template_path in $(ls -d "${bastille_templatesdir}/*/*"); do - if [ -d "$_template_path/.git" ]; then + for _template_path in $(ls -d "${bastille_templatesdir}"/*/*); do + if [ -d "$_template_path"/.git ]; then BASTILLE_TEMPLATE=$(echo "$_template_path" | awk -F / '{ print $(NF-1) "/" $NF }') template_update