make byblos the default target for "./publish". make a

legacy one in case we need to publish to alcatraz one
last time.
This commit is contained in:
Roger Dingledine 2007-10-16 02:32:31 +00:00
parent e315888dc9
commit a923638817
2 changed files with 17 additions and 2 deletions

View File

@ -9,7 +9,7 @@ chmod a+r * -R
## 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 -Prvz --delete . tor.eff.org:directory/
rsync -Prvz . tor.eff.org:/www/tor.eff.org/docs/
rsync -Prvz . www.torproject.org:/var/www/www.torproject.org/htdocs/

15
publish-alcatraz Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh
set -e # stop if we encounter an error
svn update
make
# don't copy over stuff with permissions that make it useless
chmod a+r * -R
## 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 -Prvz . tor.eff.org:/www/tor.eff.org/docs/