Admin/Release/mirror-website
author wenzelm
Thu, 03 Oct 2013 16:15:47 +0200
changeset 54052 797ae756d64d
parent 51087 175b43e0b9ce
child 54636 cc126144f662
permissions -rwxr-xr-x
more notes;
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
# mirrors the Isabelle website
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
     4
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
     5
HOST=$(hostname)
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
     6
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
     7
case ${HOST} in
51087
175b43e0b9ce detect more hosts;
wenzelm
parents: 48190
diff changeset
     8
  sunbroy* | atbroy* | macbroy* | lxbroy*)
17671
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
     9
    DEST=/home/html/isabelle/html-data
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    10
    ;;
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    11
  *.cl.cam.ac.uk)
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    12
    USER=paulson
31086
3e69a25b90a2 Change to lowercase path names as directed by local pagemasters
paulson
parents: 27594
diff changeset
    13
    DEST=/anfs/www/html/research/hvg/Isabelle
17671
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    14
    ;;
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    15
  *)
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    16
    echo "Unknown destination directory for ${HOST}"
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    17
    exit 2
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    18
    ;;
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    19
esac
e9e341bc7d42 website preparation for Isabelle2005
haftmann
parents:
diff changeset
    20
25463
8b9c4582795a simplified website rsync
haftmann
parents: 18173
diff changeset
    21
exec $(dirname $0)/isasync $DEST