mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-31 18:00:22 +01:00
shellcheck: fix double quote on update TEMPLATES
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user