#!/bin/bash -ex
#Update to revision specified on the command line. If no revision specified, update.
cd /usr/share/web2py/applications/eden/
if [ -z "$1" ]; then
		bzr update
	else
		bzr update -r $1
fi
