#!/bin/sh set -e # stop if we encounter an error svn update make # 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 -Pravz --delete . tor.eff.org:directory/ rsync -Prvz . tor.eff.org:/www/tor.eff.org/docs/