summaryrefslogtreecommitdiff
path: root/packages/atomfeed.source.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/atomfeed.source.sh')
-rw-r--r--packages/atomfeed.source.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/atomfeed.source.sh b/packages/atomfeed.source.sh
index 6d5a8f47..f17b00fb 100644
--- a/packages/atomfeed.source.sh
+++ b/packages/atomfeed.source.sh
@@ -6,7 +6,7 @@ atomfeed::meta () {
log VERBOSE "Generating meta info for post $gmi_file_path"
local is_draft=no
- if grep -E -q '\.draft\.meta$' <<< "$meta_file"; then
+ if $GREP -E -q '\.draft\.meta$' <<< "$meta_file"; then
is_draft=yes
fi
@@ -75,6 +75,7 @@ ATOMHEADER
while read -r gmi_file; do
# Load cached meta information about the post.
source <(atomfeed::meta "$gemfeed_dir/$gmi_file")
+
# Get HTML content for the feed
local content="$(atomfeed::content "$gemfeed_dir/$gmi_file")"