f86accbb5c20bbeeac71d619cbce0da912349815
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 \
Roger Dingledine capture my "how to edit the...

Roger Dingledine authored 10 years ago

28) 	--exclude README \
Sebastian Hahn Revert the non-version chan...

Sebastian Hahn authored 12 years ago

29) 	--exclude dist \
30) 	--exclude releases \
31) 	--exclude torbutton-current.xpi \
32) 	--exclude project \
Sebastian Hahn Fix the publish script to p...

Sebastian Hahn authored 11 years ago

33) 	-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

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

Sebastian Hahn authored 11 years ago

36) ssh www-master.torproject.org '