#!/bin/sh set -e # stop if we encounter an error svn update make [ -d project/trace ] || mkdir -p project/trace date -u > project/trace/www.torproject.org # don't copy over stuff with permissions that make it useless chmod a+r * -R ## I'm not comfortable having arbitrary people use --delete yet, ## since if they screw up it'll blow away arbitrary things. #rsync -Prvz --delete . tor.eff.org:directory/ rsync -Prvz . www.torproject.org:/var/www/www.torproject.org/htdocs/