Commit a2555632 authored by Jonah Brüchert's avatar Jonah Brüchert 🌳

build.sh: Make workaround indentation independent

parent 18e351bf
......@@ -5,7 +5,7 @@ ruby -r 'jekyll/planet' -e 'JekyllPlanet.main'
# Workaround for non-complete image urls in Bhushan Shah's blog
for post in _posts/*; do
if grep "author: Bhushan Shah" $post >/dev/null; then
if grep "author:" $post | grep "Bhushan Shah" >/dev/null; then
sed -i -e 's_/images_http://blog.bshah.in/images_g' $post
fi
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment