Admin/Release/mirror-website
author wenzelm
Wed, 15 Aug 2018 16:09:44 +0200
changeset 68750 7087748996af
parent 54674 dae47f997268
permissions -rwxr-xr-x
updated common hosts;

#!/usr/bin/env bash
#
# mirrors the Isabelle website

HOST=$(hostname)

case ${HOST} in
  sunbroy* | atbroy* | macbroy* | lxbroy* | lxcisa*)
    DEST=/home/html/isabelle/html-data
    ;;
  *.cl.cam.ac.uk)
    USER=paulson
    DEST=/anfs/bigdisc/lp15/Isabelle
    ;;
  *)
    echo "Unknown destination directory for ${HOST}"
    exit 2
    ;;
esac

exec $(dirname $0)/isasync $DEST