Admin/Release/mirror-website
author wenzelm
Wed Nov 01 22:13:38 2017 +0100 (20 months ago)
changeset 66986 5188b1c59434
parent 54674 dae47f997268
child 68750 7087748996af
permissions -rwxr-xr-x
more timing;
haftmann@17671
     1
#!/usr/bin/env bash
haftmann@17671
     2
#
haftmann@17671
     3
# mirrors the Isabelle website
haftmann@17671
     4
haftmann@17671
     5
HOST=$(hostname)
haftmann@17671
     6
haftmann@17671
     7
case ${HOST} in
wenzelm@54674
     8
  sunbroy* | atbroy* | macbroy* | lxbroy*)
haftmann@17671
     9
    DEST=/home/html/isabelle/html-data
haftmann@17671
    10
    ;;
haftmann@17671
    11
  *.cl.cam.ac.uk)
haftmann@17671
    12
    USER=paulson
paulson@54636
    13
    DEST=/anfs/bigdisc/lp15/Isabelle
haftmann@17671
    14
    ;;
haftmann@17671
    15
  *)
haftmann@17671
    16
    echo "Unknown destination directory for ${HOST}"
haftmann@17671
    17
    exit 2
haftmann@17671
    18
    ;;
haftmann@17671
    19
esac
haftmann@17671
    20
haftmann@25463
    21
exec $(dirname $0)/isasync $DEST