update the publish script.
Andrew Lewman

Andrew Lewman commited on 2010-10-09 02:37:07
Zeige 1 geänderte Dateien mit 4 Einfügungen und 9 Löschungen.

... ...
@@ -2,7 +2,7 @@
2 2
 set -e # stop if we encounter an error
3 3
 
4 4
 svn update
5
-make
5
+make -j3
6 6
 
7 7
 # Update a timestamp so we can check whether each mirror is
8 8
 # up to date.
... ...
@@ -11,14 +11,9 @@ date -u > project/trace/www.torproject.org
11 11
 
12 12
 # don't copy over stuff with permissions that make it useless
13 13
 chmod a+r * -R
14
-
15
-## I'm not comfortable having arbitrary people use --delete yet,
16
-## since if they screw up it'll blow away arbitrary things.
17
-#rsync -Prvz --delete . tor.eff.org:directory/
18
-
19
-rsync --exclude .svn --exclude .deps --exclude svn --exclude dist --exclude releases --exclude torbutton-current.xpi -Prvz --delete . byblos:/var/www/www.torproject.org/htdocs/
20
-ssh byblos chmod g+w -R /var/www/www.torproject.org/htdocs
14
+rsync --exclude .svn --exclude .deps --exclude svn --exclude dist --exclude releases --exclude torbutton-current.xpi -Prvz --delete . vescum:/srv/www-master.torproject.org/htdocs
15
+ssh vescum chmod g+w -R /srv/www-master.torproject.org/htdocs
21 16
 
22 17
 echo "Forcing mirror update"
23
-ssh byblos '/var/lib/mirror-tor/trigger-sync'
18
+ssh vescum '/var/lib/mirror-tor/trigger-sync'
24 19
 
25 20