From 9e1aadb8a4c7047f60124896720746371c58a193 Mon Sep 17 00:00:00 2001 From: David Young Date: Wed, 3 Jun 2020 14:31:49 +1200 Subject: [PATCH] Fix relative path mangling --- scripts/markdown-to-markua.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/markdown-to-markua.sh b/scripts/markdown-to-markua.sh index 83eb89f..7258642 100755 --- a/scripts/markdown-to-markua.sh +++ b/scripts/markdown-to-markua.sh @@ -8,7 +8,7 @@ do sed -i "s/\`\`\`\`/\`\`\`/g" $file # Can't use relative paths in a book, so make all paths static - sed -i 's/(\//(https:\/\/geek-cookbook.funkypenguin.co.nz\/)/g' $file + sed -i 's/(\//https:\/\/geek-cookbook.funkypenguin.co.nz\//g' $file # strip emojis tr -cd '\11\12\15\40-\176' < $file > $file-clean