summaryrefslogtreecommitdiff
path: root/lib/gemfeed.source.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gemfeed.source.sh')
-rw-r--r--lib/gemfeed.source.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gemfeed.source.sh b/lib/gemfeed.source.sh
index eba9384..702c510 100644
--- a/lib/gemfeed.source.sh
+++ b/lib/gemfeed.source.sh
@@ -51,7 +51,7 @@ GEMFEED
# Extract the date from the file name, and also get the word count.
local filename_date=$(basename "$gemfeed_dir/$gmi_file" | cut -d- -f1,2,3)
- local words=$(printf %04d $(gemfeed::_get_word_count "$gemfeed_dir/$gmi_file"))
+ local words=$(printf %04d "$(gemfeed::_get_word_count "$gemfeed_dir/$gmi_file")")
echo "=> ./$gmi_file $filename_date ($words words) - $title" >> \
"$gemfeed_dir/index.gmi.tmp"