summaryrefslogtreecommitdiff
path: root/lib/atomfeed.source.sh
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-08-25 23:16:25 +0300
committerPaul Buetow <paul@buetow.org>2024-08-25 23:16:25 +0300
commit850dd62850a88832803e13a4ad963a0f455865cc (patch)
treee8c8380694a4e6e37fef8d337321fcbb42f7dd8d /lib/atomfeed.source.sh
parenta7370ba21f9b4be497dcb10f47265d6eb9532819 (diff)
fix markdown internal link ids
Diffstat (limited to 'lib/atomfeed.source.sh')
-rw-r--r--lib/atomfeed.source.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/atomfeed.source.sh b/lib/atomfeed.source.sh
index 53e54d5..9392e95 100644
--- a/lib/atomfeed.source.sh
+++ b/lib/atomfeed.source.sh
@@ -92,11 +92,11 @@ ATOMFOOTER
}
atomfeed::verify () {
- if [ $(find $CONTENT_BASE_DIR -name \*.xml.tmp | wc -l) -ge 1 ]; then
- find $CONTENT_BASE_DIR -name \*.xml.tmp
+ if [ "$(find "$CONTENT_BASE_DIR" -name \*.xml.tmp | wc -l)" -ge 1 ]; then
+ find "$CONTENT_BASE_DIR" -name \*.xml.tmp
log PANIC "Found incomplete Atom feed files with the suffix .xml.tmp"
fi
- find $CONTENT_BASE_DIR -name atom.xml | while read -r atom_xml; do
+ find "$CONTENT_BASE_DIR" -name atom.xml | while read -r atom_xml; do
atomfeed::xmllint "$atom_xml"
done