fc5966e0df9a35361e2fbddb8502a399eba80a8e
Roger Dingledine a dinky script to demonstra...

Roger Dingledine authored 18 years ago

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

Roger Dingledine authored 18 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 18 years ago

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

Roger Dingledine authored 18 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 13 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 \
Erinn Clark bump tbbs for firefox 12 an...

Erinn Clark authored 12 years ago

32) 	-Prvz --delete . vescum:/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"
Erinn Clark bump tbbs for firefox 12 an...

Erinn Clark authored 12 years ago

35) ssh vescum '