Remove '-d' flag from mapfile
Anirudh Oppiliappan x@icyphox.sh
Fri, 19 Mar 2021 15:09:25 +0530
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
bin/wiki.sh
→
bin/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")"