diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2022-09-05 21:47:26 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2022-09-05 21:47:26 +0200 |
| commit | bc533773d1f99371894a3c6e4e7870f73712ec9b (patch) | |
| tree | d957f8d36f296d88a3fe5bce1418822cf7a9a687 | |
| parent | a2221e45c763113339bc73abf53f0c5dbddba609 (diff) | |
| download | sebastiano.tronto.net-bc533773d1f99371894a3c6e4e7870f73712ec9b.tar.gz sebastiano.tronto.net-bc533773d1f99371894a3c6e4e7870f73712ec9b.zip | |
Fixed sed -i on OpenBSD
| -rwxr-xr-x | build.sh | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -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" |
