230ecae922ceb86050d22cc5e5ab5040e4cacedb
Roger Dingledine a dinky script to demonstra...

Roger Dingledine authored 17 years ago

1) #!/bin/sh
Roger Dingledine weasel gave me a less ugly...

Roger Dingledine authored 17 years ago

2) set -e # stop if we encounter an error
3) 
Sebastian Hahn Revert the non-version chan...

Sebastian Hahn authored 12 years ago

4) # pull the latest changes
5) if [ -e .svn ] ; then
6) 	svn update
7) elif [ -e .git ] ; then
8) 	git svn rebase
9) else
10) 	echo 2>&1 "Cannot figure out which version control thing you're using.  Skipping update"
11) fi
Sebastian Hahn Revert part of "get all the...

Sebastian Hahn authored 12 years ago

12) 
Sebastian Hahn Revert the non-version chan...

Sebastian Hahn authored 12 years ago

13) # clean up the working directory
14) make clean
Sebastian Hahn Revert part of "get all the...

Sebastian Hahn authored 12 years ago

15) 
Sebastian Hahn Revert the non-version chan...

Sebastian Hahn authored 12 years ago

16) # actually build the site
17) make -j3
Roger Dingledine a dinky script to demonstra...

Roger Dingledine authored 17 years ago

18) 
Roger Dingledine hack to avoid copying a-r f...

Roger Dingledine authored 17 years ago

19) # don't copy over stuff with permissions that make it useless
Sebastian Hahn Fix chmod call to put its o...

Sebastian Hahn authored 12 years ago

20) chmod -R a+r *
Sebastian Hahn Revert the non-version chan...

Sebastian Hahn authored 12 years ago

21) rsync \
22) 	--exclude .DS_Store \
23) 	--exclude .svn \
24) 	--exclude .git \
25) 	--exclude '.*.sw[po]' \
26) 	--exclude .deps \
27) 	--exclude svn \
28) 	--exclude dist \
29) 	--exclude releases \
30) 	--exclude torbutton-current.xpi \
31) 	--exclude project \
Sebastian Hahn Fix the publish script to p...

Sebastian Hahn authored 11 years ago

32) 	-Prvz --delete . www-master.torproject.org:/srv/www-master.torproject.org/htdocs
Roger Dingledine the publish script now need...

Roger Dingledine authored 14 years ago

33) 
34) echo "Forcing mirror update"
Sebastian Hahn Fix the publish script to p...

Sebastian Hahn authored 11 years ago

35) ssh www-master.torproject.org '