1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-18 12:11:44 +00:00

Fix relative path mangling

This commit is contained in:
David Young
2020-06-03 14:31:49 +12:00
parent 33c0f36da3
commit 9e1aadb8a4

View File

@@ -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