Admin/mirror-website
author wenzelm
Wed, 19 Mar 2008 22:28:17 +0100
changeset 26338 f8ed02f22433
parent 25463 8b9c4582795a
child 27594 86db6468145d
permissions -rwxr-xr-x
auxiliary dynamic_thm(s) for fact lookup; renamed local dynamic_thm(s) to goal_thm(s);
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
17671
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
     1
#!/usr/bin/env bash
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
     2
#
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
     3
# $Id$
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
     4
#
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
     5
# mirrors the Isabelle website
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
     6
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
     7
HOST=$(hostname)
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
     8
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
     9
case ${HOST} in
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    10
  sunbroy2)
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    11
    DEST=/home/html/isabelle/html-data
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    12
    ;;
25463
8b9c4582795a simplified website rsync
haftmann
parents: 18173
diff changeset
    13
  atbroy*)
17671
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    14
    DEST=/home/html/isabelle/html-data
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    15
    ;;
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    16
  *.cl.cam.ac.uk)
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    17
    USER=paulson
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    18
    DEST=/anfs/www/html/Research/HVG/Isabelle
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    19
    ;;
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    20
  *)
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    21
    echo "Unknown destination directory for ${HOST}"
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    22
    exit 2
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    23
    ;;
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    24
esac
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    25
25463
8b9c4582795a simplified website rsync
haftmann
parents: 18173
diff changeset
    26
exec $(dirname $0)/isasync $DEST