summaryrefslogtreecommitdiff
path: root/modules/gemfeed.source.sh
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gemfeed.source.sh')
-rw-r--r--modules/gemfeed.source.sh2
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.