Fix relative path mangling

This commit is contained in:
David Young committed 2020-06-03 14:31:49 +12:00
1 parent 33c0f36da3
commit 9e1aadb8a4
1 file changed
+1 -1
+1 -1
View File
@@ -8,7 +8,7 @@ do
sed -i "s/\`\`\`\`/\`\`\`/g" $file sed -i "s/\`\`\`\`/\`\`\`/g" $file
# Can't use relative paths in a book, so make all paths static # 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 # strip emojis
tr -cd '\11\12\15\40-\176' < $file > $file-clean tr -cd '\11\12\15\40-\176' < $file > $file-clean