sbs

A Simple Blogging System.
git clone https://git.sr.ht/~jbauer/sbs
Log | Files | Refs | README | LICENSE

commit 38b235203f8ad2e8b45fed907bedc36cfc6983c1
parent ee18195d11983d3d6ab3d52d2eb59ad2774fcb86
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Tue, 15 Feb 2022 02:01:42 -0500

Fix bug with interpretation of find -name argument

Diffstat:
Msbs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbs b/sbs @@ -97,7 +97,7 @@ if [ "$1" = "genfeed" ]; then numEntries=0 tmp=$(mktemp) - for file in $(find content/"$blogDir" -type f -name *.md); do + for file in $(find content/"$blogDir" -type f -name '*.md'); do if [ -n "$(lowdown -X draft "$file" 2>/dev/null)" ]; then continue fi