shellcheck: fix double quote on update TEMPLATES

This commit is contained in:
Juan David Hurtado G
2024-12-15 10:51:30 -05:00
parent 63964b107d
commit a906f14ce8

View File

@@ -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