Browse code

sync my local working copy of publish with the world.

Andrew Lewman authored on23/03/2011 16:15:43
Showing1 changed files
... ...
@@ -1,13 +1,16 @@
1 1
 #!/bin/sh
2 2
 set -e # stop if we encounter an error
3 3
 
4
-svn update
5
-make -j3
4
+make clean # clean cruft
5
+
6
+svn update # get changes
7
+
8
+make -j3 # abuse the cores
6 9
 
7 10
 # don't copy over stuff with permissions that make it useless
8 11
 chmod a+r * -R
9
-rsync --exclude .svn --exclude .deps --exclude svn --exclude dist --exclude releases --exclude torbutton-current.xpi --exclude project -Prvz --delete . vescum.torproject.org:/srv/www-master.torproject.org/htdocs
12
+rsync --exclude .svn --exclude .deps --exclude svn --exclude dist --exclude releases --exclude torbutton-current.xpi --exclude project -Prvz --delete . vescum:/srv/www-master.torproject.org/htdocs
10 13
 
11 14
 echo "Forcing mirror update"
12
-ssh vescum.torproject.org '/home/mirroradm/bin/trigger-mirrors'
13
-ssh vescum.torproject.org chmod g+w -R /srv/www-master.torproject.org/htdocs
15
+ssh vescum '/home/mirroradm/bin/trigger-mirrors'
16
+ssh vescum chmod g+w -R /srv/www-master.torproject.org/htdocs