author | quigley |
Tue, 05 Apr 2005 16:32:47 +0200 | |
changeset 15657 | bd946fbc7c2b |
parent 14229 | bf89038cf551 |
child 16278 | dda44b201c4d |
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) |
6 |
# It does *not* mirror the Isabelle distribution pages and downloads. There |
|
7 |
# is a separate utility (mirror-dist) for that. |
|
8 |
# |
|
9 |
# Usage: mirror-main |
|
10 |
# |
|
8222 | 11 |
|
8321 | 12 |
HOST=$(hostname) |
13 |
||
14 |
case ${HOST} in |
|
14229 | 15 |
atbroy1) |
8222 | 16 |
DEST=/home/html/isabelle/html-data |
17 |
;; |
|
8225 | 18 |
*.cl.cam.ac.uk) |
19 |
USER=paulson |
|
20 |
DEST=/anfs/www/html/Research/HVG/Isabelle |
|
8222 | 21 |
;; |
22 |
*) |
|
8321 | 23 |
echo "Unknown destination directory for ${HOST}" |
8222 | 24 |
exit 2 |
25 |
;; |
|
26 |
esac |
|
27 |
||
28 |
rsync --rsh ssh --rsync-path /usr/local/dist/bin/rsync -va \ |
|
13100
ff00791319e2
physical location of isabelle repository is now sunbroy2
kleing
parents:
12721
diff
changeset
|
29 |
$USER@sunbroy2.informatik.tu-muenchen.de:/usr/proj/isabelle-repository/www/. $DEST/. |