#!/usr/bin/env bash cd `dirname $0` svn up . if [ ! -e fost-web ] then git clone git@github.com:Felspar/fost-web.git else cd fost-web git pull origin master cd .. fi