all repos — site @ 9a571088db3ce82efdb9751c7c5baa40a6c10cd8

source for my site, found at icyphox.sh

Remove '-d' flag from mapfile
Anirudh Oppiliappan x@icyphox.sh
Fri, 19 Mar 2021 15:09:25 +0530
commit

9a571088db3ce82efdb9751c7c5baa40a6c10cd8

parent

94ad5bbf9cd3f275cac08f951d54a4be43744c73

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M bin/wiki.shbin/wiki.sh

@@ -23,7 +23,7 @@

} generate_index() { - mapfile -d $'\0' entries < <(find "$WIKI_PATH" ! -path "$WIKI_PATH" -print0) + mapfile -t entries < <(find "$WIKI_PATH" ! -path "$WIKI_PATH") prevdir='' for r in "${entries[@]}"; do path="$(basename "$r")"