build.sh 322 Bytes
Newer Older
1 2 3 4
#!/bin/bash

pluto update planet.ini
ruby -r 'jekyll/planet' -e 'JekyllPlanet.main'
5 6 7

# Workaround for non-complete image urls in Bhushan Shah's blog
for post in _posts/*; do
8
	if grep "author:"  $post | grep "Bhushan Shah" >/dev/null; then
9 10 11 12
		sed -i -e 's_/images_http://blog.bshah.in/images_g' $post
	fi
done

13
jekyll build