#!/bin/shset -e # stop if we encounter an errorsvn updatemake -j3# don't copy over stuff with permissions that make it uselesschmod a+r * -Rrsync --exclude .svn --exclude .deps --exclude svn --exclude dist --exclude releases --exclude torbutton-current.xpi -Prvz --delete . vescum:/srv/www-master.torproject.org/htdocsecho "Forcing mirror update"ssh vescum '/home/mirroradm/bin/trigger-mirrors'ssh vescum chmod g+w -R /srv/www-master.torproject.org/htdocs