Admin/Release/mirror-website
author wenzelm
Sun Mar 24 13:48:46 2019 +0100 (3 months ago)
changeset 69962 82e945d472d5
parent 68750 7087748996af
permissions -rwxr-xr-x
documentation of document markers and re-interpreted command tags;
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@68750
     8
  sunbroy* | atbroy* | macbroy* | lxbroy* | lxcisa*)
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