diff options
| author | Paul Buetow <paul@buetow.org> | 2021-05-12 09:06:22 +0100 |
|---|---|---|
| committer | Paul Buetow <git@mx.buetow.org> | 2021-05-21 05:11:04 +0100 |
| commit | bdf56f978f490f97e89afb6650e3a1913abd8e28 (patch) | |
| tree | 3f673b8e5d78c3ca9326a9e592c3616f46ab2051 /modules/gemfeed.source.sh | |
| parent | a453bf2f909e0ea01b0649ce8dc42d54689f738f (diff) | |
make shellcheck happy again, also add a shellcheck makefile target
Diffstat (limited to 'modules/gemfeed.source.sh')
| -rw-r--r-- | modules/gemfeed.source.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gemfeed.source.sh b/modules/gemfeed.source.sh index 7e1c476b..66ed48fc 100644 --- a/modules/gemfeed.source.sh +++ b/modules/gemfeed.source.sh @@ -32,7 +32,7 @@ cat <<GEMFEED > "$gemfeed_dir/index.gmi.tmp" GEMFEED - gemfeed::get_posts | while read gmi_file; do + gemfeed::get_posts | while read -r gmi_file; do # Extract first heading as post title. local title=$($SED -n '/^# / { s/# //; p; q; }' "$gemfeed_dir/$gmi_file" | tr '"' "'") # Extract the date from the file name. |
