sbs

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

commit 2731e45e20c466bdff196d8a714c2e011fae0aca
parent 62358adeb6e115fce983eb2ed311090bf30390ea
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Mon, 14 Feb 2022 23:46:25 -0500

Skip directory when recursing

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

diff --git a/sbs b/sbs @@ -118,7 +118,8 @@ fi # Build the pages given as arguments for file in "$@"; do if [ -d "$file" ]; then - "$0" "$file/*" + "$0" "$file"/* + continue elif [ ! -f "$file" ]; then printf "ERROR: %s does not exist.\n" "$file" continue