[or-cvs] switch the publish script to use rsync like it should
arma at seul.org
arma at seul.org
Mon Jul 31 21:19:42 UTC 2006
Update of /home2/or/cvsroot/website
In directory moria:/home/arma/work/onion/cvs/website
Modified Files:
publish
Log Message:
switch the publish script to use rsync like it should
Index: publish
===================================================================
RCS file: /home2/or/cvsroot/website/publish,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -d -r1.1 -r1.2
--- publish 31 Jul 2006 21:15:41 -0000 1.1
+++ publish 31 Jul 2006 21:19:40 -0000 1.2
@@ -2,9 +2,10 @@
cvs update -d -P
make
# XXX should check whether make fails
-scp *.html.* tor.eff.org:/www/tor.eff.org/docs/
-scp docs/*.html.* tor.eff.org:/www/tor.eff.org/docs/docs/
-## This won't move images, css, etc. Somebody should set up rsync or
-## something smarter to move those, or you can scp them separately.
+## 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 -Pravz . tor.eff.org:/www/tor.eff.org/docs/
More information about the tor-commits
mailing list