summaryrefslogtreecommitdiff
path: root/lib/atomfeed.source.sh
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2023-05-08 00:47:13 +0300
committerPaul Buetow <paul@buetow.org>2023-05-08 00:47:13 +0300
commitb9a748dafccc7f28aa695d3590be952560eedb35 (patch)
tree508bff7e78561b1a3c8d4a3291564a1713f72da5 /lib/atomfeed.source.sh
parente3f7a795d0f5741b145f843dc2a31e97f8d6a67d (diff)
also escape ' properly
Diffstat (limited to 'lib/atomfeed.source.sh')
-rw-r--r--lib/atomfeed.source.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/atomfeed.source.sh b/lib/atomfeed.source.sh
index cc810d1..079c2fb 100644
--- a/lib/atomfeed.source.sh
+++ b/lib/atomfeed.source.sh
@@ -74,7 +74,7 @@ ATOMHEADER
while read -r gmi_file; do
atomfeed::_entry "$gemfeed_dir" "$gmi_file" "$atom_file.tmp"
- done < <(gemfeed::get_posts | head -n $ATOM_MAX_ENTRIES)
+ done < <(gemfeed::get_posts | head -n "$ATOM_MAX_ENTRIES")
cat <<ATOMFOOTER >> "$atom_file.tmp"
</feed>