summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2022-07-02 19:57:14 +0300
committerPaul Buetow <paul@buetow.org>2022-07-02 19:57:14 +0300
commit95bcc8d1e7deee2929676c74cad4fbce1ca97832 (patch)
treea582789cc47cc3020a74b4a06e76c7305f219f26 /lib
parentb733f1860f00c61eb33ff33c4368201a4c8161d9 (diff)
make ShellCheck happy
Diffstat (limited to 'lib')
-rw-r--r--lib/html.source.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/html.source.sh b/lib/html.source.sh
index 125b174..c303d2e 100644
--- a/lib/html.source.sh
+++ b/lib/html.source.sh
@@ -74,8 +74,8 @@ html::add_extras () {
cp "$HTML_CSS_STYLE" "$html_base_dir/style.css"
find "$html_base_dir" -mindepth 1 -maxdepth 1 -type d | $GREP -E -v '(\.git)' |
- while read section_dir; do
- local override_source="./extras/html/style-$(basename $section_dir)-override.css"
+ while read -r section_dir; do
+ local override_source="./extras/html/style-$(basename "$section_dir")-override.css"
local override_dest="$section_dir/style-override.css"
if [ ! -f "$override_source" ]; then
touch "$override_dest" # Empty override