From bdf56f978f490f97e89afb6650e3a1913abd8e28 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 12 May 2021 09:06:22 +0100 Subject: make shellcheck happy again, also add a shellcheck makefile target --- modules/gemfeed.source.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/gemfeed.source.sh') 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_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. -- cgit v1.2.3