#!/bin/sh
# syncweb -- why pull data at build time when storage is cheap
#
# pulls all the contents from the alexkarle.com repo into the
# appropriate directories and updates the index.gph files.
#
# usage:
#
# $ ./bin/syncweb.sh ../alexkarle.com
# $ git commit -am "syncweb"
set -e
die() {
echo "$*" 1>&2
exit 1
}
[ -z "$1" ] && die "usage: syncweb /path/to/alexkarle.com-repo"