author | huffman |
Tue, 12 Jul 2005 18:28:36 +0200 | |
changeset 16778 | 2162c0de4673 |
parent 16573 | cc86fd4eeee4 |
child 17671 | e9e341bc7d42 |
permissions | -rwxr-xr-x |
12721 | 1 |
#!/usr/bin/env bash |
8222 | 2 |
# |
3 |
# $Id$ |
|
4 |
# |
|
13567 | 5 |
# Mirrors the Isabelle home page (those directly on http://isabelle.in.tum.de) |
16573 | 6 |
# It *does* mirror the Isabelle distribution pages and downloads. There |
7 |
# is also a separate utility (mirror-dist) for that. |
|
13567 | 8 |
# |
9 |
# Usage: mirror-main |
|
10 |
# |
|
8222 | 11 |
|
8321 | 12 |
HOST=$(hostname) |
13 |
||
14 |
case ${HOST} in |
|
16292 | 15 |
sunbroy2) |
16 |
DEST=/home/html/isabelle/html-data |
|
17 |
;; |
|
14229 | 18 |
atbroy1) |
8222 | 19 |
DEST=/home/html/isabelle/html-data |
20 |
;; |
|
8225 | 21 |
*.cl.cam.ac.uk) |
22 |
USER=paulson |
|
23 |
DEST=/anfs/www/html/Research/HVG/Isabelle |
|
8222 | 24 |
;; |
25 |
*) |
|
8321 | 26 |
echo "Unknown destination directory for ${HOST}" |
8222 | 27 |
exit 2 |
28 |
;; |
|
29 |
esac |
|
30 |
||
16278 | 31 |
echo "Warning: this script now mirrors the *complete* Isabelle site" |
32 |
||
33 |
rsync --rsh ssh --rsync-path /usr/local/dist/bin/rsync -va --copy-links \ |
|
13100
ff00791319e2
physical location of isabelle repository is now sunbroy2
kleing
parents:
12721
diff
changeset
|
34 |
$USER@sunbroy2.informatik.tu-muenchen.de:/usr/proj/isabelle-repository/www/. $DEST/. |