diff options
| author | Paul Buetow <paul@buetow.org> | 2021-05-12 09:06:22 +0100 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2021-05-12 09:06:22 +0100 |
| commit | 0e4caa074d62c673a26e7b118a9afc6fb1c92ebb (patch) | |
| tree | 9d7ad5fb4297cee242ce2d00767bf73738df9986 /modules/gemfeed.source.sh | |
| parent | e569faa91f0f8906c416113010c755fd5cdc79b2 (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. |
