aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2022-09-05 21:47:26 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2022-09-05 21:47:26 +0200
commitbc533773d1f99371894a3c6e4e7870f73712ec9b (patch)
treed957f8d36f296d88a3fe5bce1418822cf7a9a687
parenta2221e45c763113339bc73abf53f0c5dbddba609 (diff)
downloadsebastiano.tronto.net-bc533773d1f99371894a3c6e4e7870f73712ec9b.tar.gz
sebastiano.tronto.net-bc533773d1f99371894a3c6e4e7870f73712ec9b.zip
Fixed sed -i on OpenBSD
-rwxr-xr-xbuild.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 9b89708..7cb3ff1 100755
--- a/build.sh
+++ b/build.sh
@@ -25,7 +25,9 @@ recursivebuild() {
25 # sed lines when fixed. 25 # sed lines when fixed.
26 lowdown -Tgemini --gemini-link-roman \ 26 lowdown -Tgemini --gemini-link-roman \
27 "$1/$file" \ 27 "$1/$file" \
28 | sed '/```./i```' \ 28 | sed '/```./i\
29```
30 ' \
29 | sed '/```./ s/```//' \ 31 | sed '/```./ s/```//' \
30 > "$destdir_gmi/index.gmi" 32 > "$destdir_gmi/index.gmi"
31 cat bottom.gmi >> "$destdir_gmi/index.gmi" 33 cat bottom.gmi >> "$destdir_gmi/index.gmi"

Generated with cgit - Back to sebastiano.tronto.net