publish
5a7f21f1
 #!/bin/sh
36c781c7
 set -e # stop if we encounter an error
 
 svn update
 make
5a7f21f1
 
a1c58e09
 # Update a timestamp so we can check whether each mirror is
 # up to date.
64ffe27e
 [ -d project/trace ] || mkdir -p project/trace
 date -u > project/trace/www.torproject.org
 
c7862807
 # don't copy over stuff with permissions that make it useless
d1559c0f
 chmod a+r * -R
c7862807
 
f9b9e7b2
 ## I'm not comfortable having arbitrary people use --delete yet,
 ## since if they screw up it'll blow away arbitrary things.
a9236388
 #rsync -Prvz --delete . tor.eff.org:directory/
f9b9e7b2
 
ff1a2df7
 rsync --exclude .svn --exclude .deps -Prvz . www.torproject.org:/var/www/www.torproject.org/htdocs/
5a7f21f1