commit bc533773d1f99371894a3c6e4e7870f73712ec9b
parent a2221e45c763113339bc73abf53f0c5dbddba609
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date: Mon, 5 Sep 2022 21:47:26 +0200
Fixed sed -i on OpenBSD
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/build.sh b/build.sh
@@ -25,7 +25,9 @@ recursivebuild() {
# sed lines when fixed.
lowdown -Tgemini --gemini-link-roman \
"$1/$file" \
- | sed '/```./i```' \
+ | sed '/```./i\
+```
+ ' \
| sed '/```./ s/```//' \
> "$destdir_gmi/index.gmi"
cat bottom.gmi >> "$destdir_gmi/index.gmi"